by xhbcoder » Fri Dec 07, 2012 5:33 pm
Hi Antonio,
The Tutor02 works fine.
I linked gtwin.lib and added -Gn -aa linker switch as shown in BuildH.Bat. My application now shows some life but with a bunch of errors.
I think it's just the switches and settings but I can't find anymore from BuildH.bat that I can copy to my .MAK file.
Below are portions of my MAK file and runtime errors:
I hope there is something we can tweak. Thank you.
Jose
Portion of Runtime errors:
Unrecoverable error 9003: Too many recursive error handler calls
Called from ENABLE(0)
Called from TDBG:DBGCONTROL(525) in .\source\classes\FWDBG.PRG
Called from TDBG:EXEC(633) in .\source\classes\FWDBG.PRG
Called from __DBGENTRY(97) in .\source\classes\FWDBG.PRG
Called from ALERT(3900) in .\PCREGW.PRG
Called from DEFERROR(0) in ../../../errsys.prg
Called from (b)ERRORSYS(0) in ../../../errsys.prg
Called from ENABLE(0)
Called from TDBG:DBGCONTROL(525) in .\source\classes\FWDBG.PRG
Called from TDBG:EXEC(633) in .\source\classes\FWDBG.PRG
Called from __DBGENTRY(97) in .\source\classes\FWDBG.PRG
Called from ALERT(3900) in .\PCREGW.PRG
Called from DEFERROR(0) in ../../../errsys.prg
Called from (b)ERRORSYS(0) in ../../../errsys.prg
Called from ENABLE(0)
Called from TDBG:DBGCONTROL(525) in .\source\classes\FWDBG.PRG
Called from TDBG:EXEC(633) in .\source\classes\FWDBG.PRG
Called from __DBGENTRY(97) in .\source\classes\FWDBG.PRG
Called from ALERT(3900) in .\PCREGW.PRG
Called from DEFERROR(0) in ../../../errsys.prg
Called from (b)ERRORSYS(0) in ../../../errsys.prg
Called from ENABLE(0)
Library and switch portion of my MAk file:
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtwin.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.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\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST pcreg.res echo pcreg.res >> b32.bc
$(BCDIR)\bin\ilink32 -Tpe -s @b32.bc > link.log
# $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc > link.log
# del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /dFIVEWIN /dWIN /b /N /W1 /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include > comp.log
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c