Page 2 of 3
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Dec 20, 2011 1:12 pm
by Antonio Linares
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
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Dec 20, 2011 3:38 pm
by RiazKhan
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...??
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Dec 20, 2011 4:37 pm
by Antonio Linares
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 ?
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Dec 20, 2011 4:43 pm
by RiazKhan
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..
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Dec 20, 2011 4:58 pm
by Antonio Linares
1. Simply compile the LIB PRGs using Harbour instead of Clipper
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 6:26 am
by RiazKhan
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
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 9:18 am
by Antonio Linares
Is it a Windows alert or a console text alert ?
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 9:53 am
by RiazKhan
Hi,
It seems a console text alert...
FBS.EXE is my application
when i run 'fbs' i get the following.:
![Image](http://imageshack.us/thumbnmail.png)
when i run 'fbs pfl,2011' i get the following :
![Image](http://imageshack.us/thumbnmail.png)
very strange....
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 12:22 pm
by Antonio Linares
Check if you get any log file in the folder where your EXE is located
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 12:24 pm
by RiazKhan
Hi,
NO log files.....
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 12:28 pm
by Antonio Linares
What libraries are you linking ?
Please list all the libs that you are using
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 12:34 pm
by RiazKhan
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
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 1:11 pm
by Antonio Linares
Try to link gtwin.lib instead of gtgui.lib
also try to remove objects.lib
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 3:46 pm
by RiazKhan
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
Re: New User FWH6.12
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Dec 21, 2011 6:48 pm
by Antonio Linares
Link gtgui.lib and remove objects.lib