Page 1 of 1
Error '_GetGuiResources'. Fixed
Posted: Fri Feb 15, 2008 2:06 am
by dutch
Dear Antonio,
I've used xHb.com Nov'07 & FWH 8.02 and it got this error. I didn't find any post with this error.
But I try with 8.01, it's ok.
Thanks in advance,
Dutch
xLINK: error: Unresolved external symbol '_GetGuiResources'.
xLINK: fatal error: 1 unresolved external(s).
Type: C >>>Couldn't build: ez4fo5.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1322<<<
Posted: Fri Feb 15, 2008 2:58 am
by hua
Posted: Fri Feb 15, 2008 9:42 am
by dutch
I've got gui.lib and compile&link is no error. But prgram do not run anymore (after compile and link is quite).
Regards,
Dutch
Posted: Fri Feb 15, 2008 11:31 am
by Antonio Linares
Dutch,
What Windows version are you using ?
Are you using xHB commercial ?
Posted: Sat Feb 16, 2008 1:04 am
by dutch
I use Windows XP sp2.
Yes, I use xHb Commercial Nov'07.
I try to rebuild FWH with xBuilder for all lib and include gui.lib. It has not any error but it dont' run when I build my program but It work fine with 8.01 without gui.lib.
Is it possible to co-operate between Fivetech and xHarbour.Com to provide FWH for xHB.Com, because sometime I update the new version and re-build the library, I got this problem.
This is an idea for avoid the next problem for updated version.
Thanks&Regards,
Dutch
Posted: Sat Feb 16, 2008 1:10 am
by driessen
Dutch,
I use the same utilities as you do, also with xBuilder Nov. 07.
But I have no problem at all.
Posted: Sat Feb 16, 2008 1:27 am
by dutch
Dear Driessen,
What is your xBuild Project for FiveHmx.lib?
I've got one from xHarbour.com Community xH_FiveHMX.Lib.XBP (for FHW 7.09). Is it OK?
I used TWbrowse, TSbrowse, Btnget, Sbutton. All library re-build without any error. Sometime I've got the error why re-build all library but this time not.
It may cause error by those library. I will try to rebuild all again and check again.
Thanks&Regards,
Dutch
Posted: Sat Feb 16, 2008 10:58 am
by Antonio Linares
Dutch,
> xLINK: error: Unresolved external symbol '_GetGuiResources'.
The problem is caused as xHB does not provide a proper import library for that function. xHB should provide all the Windows import libraries with its included C compiler.
gui.lib does not contains code. It is just an import library.
Anyhow, we are going to do some tests in XP to see where the problem may come from.
Posted: Sat Feb 16, 2008 6:16 pm
by dutch
Dear Antonio,
I've found the problem is some .OBJ files has not re-build. Sorry to novice's problem.
Another thing is after re-build all. Gui.lib is not need anymore.
Best regards,
Dutch
Posted: Sun Feb 17, 2008 3:05 am
by Antonio Linares
Dutch,
Very good
Posted: Sun Feb 17, 2008 4:41 pm
by Patrick Mast
Antonio,
I reported this on the xHarbour Developers list.
Patrick
Posted: Sun Feb 17, 2008 9:33 pm
by Antonio Linares
Patrick,
Thanks