You should compile just the main FBS.rc file:
FBS.RES : FBS.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include fbs.rc
So you will get just one single res file
You should compile just the main FBS.rc file:
FBS.RES : FBS.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include fbs.rc
So you will get just one single res file
Dear Antonio,
Thanks,
Getting closer to a 32 bit application.
I have managed to produce a single res file including the four rc files in the exe file.
Now, some lib files need to be converted to 32 bit libs..Is there a convector for doing this. Before i go any further.
Any suggestions...??
You need to have the source code of those libs to rebuild them in 32 bits, otherwise you need to find a replacement for them.
What do you need them for ?
Hi,
One lib holds the application security and copy protection..the prg is with myself and lib file generated and compiled..the source is with me..what file do I use to convert to 32 bits for my prg..
the other is outlook.lib....for a outlook like style.
the third is the six3 driver....its for tagged nsx files.....also the dbfs are encrypted with a password ...for protection at client end..
Hi,
The Libs are okay and compiled..No errors.
Now I have 225 prgs, 225 obj and 225 c files. Compilation gives a few warnings about syntax..but not to worry as those are not so critical. There are NO compile errors .
The exe is produced. I have added a msginfo() on the first line of my main prg as an indicator for execution..The exe file does not even reach there but just an alert dialog box appears with a OK button.
Am I missing something..????
Thanks, Regards and Merry Christmas
Is it a Windows alert or a console text alert ?
Check if you get any log file in the folder where your EXE is located
Hi,
NO log files.....
What libraries are you linking ?
Please list all the libs that you are using
Hi,
Here is a list from my test.rmk file..
PROJECT : FBS.EXE
FBS.EXE : $(PRG:.PRG=.OBJ) $(D:.C=.OBJ) FBS.RES
echo off
echo $(BCDIR)\bin\C0W32.OBJ + > b32.bc
echo $(OBJS), + >> b32.bc
echo FBS.EXE, + >> b32.bc
echo FBS.MAP, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
echo $(HBDIR)\lib\olympia.lib + >> b32.bc
echo $(HBDIR)\lib\folder.lib + >> b32.bc
echo $(HBDIR)\lib\objects.lib + >> b32.bc
echo $(HBDIR)\lib\outlook.lib + >> b32.bc
echo $(HBDIR)\lib\oslib.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST FBS.res echo FBS.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
Regards
Try to link gtwin.lib instead of gtgui.lib
also try to remove objects.lib
Dear Antonio,
linking the gtwin.llib instead of gtgui.lib and without objects.lib produces the following errors:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_gt_w32_tone' referenced from D:\FWH\HARBOUR\LIB\
GTWIN.LIB|gtwin
Error: Unresolved external '_hb_cdpID' referenced from D:\FWH\HARBOUR\LIB\GTWIN.
LIB|gtwin
Error: Unresolved external '_hb_gt_w32_setKbdState' referenced from D:\FWH\HARBO
UR\LIB\GTWIN.LIB|gtwin
Error: Unresolved external '_hb_gt_w32_setClipboard' referenced from D:\FWH\HARB
OUR\LIB\GTWIN.LIB|gtwin
Error: Unresolved external '_hb_gt_w32_getClipboard' referenced from D:\FWH\HARB
OUR\LIB\GTWIN.LIB|gtwin
** error 2 ** deleting FBS.EXE
I have checked and these calls are in the gtwin.lib file, so they should not be unresolved externals...????
I can generate a clip.log file, but that will only give the compilation of the prgs..
Thanks
Link gtgui.lib and remove objects.lib