Page 1 of 2
Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 2:42 pm
by Sakis
Hello to all !!
Trying to compile the new TestRTF sample, the following unresolved externals appeared :
_GetFileVersionInfoSizeA
_GetFileVersionInfoA
_VerQueryValueA
By the way the new samples for ActiveX (WebeExp.prg and media.prg )doesn't work , as side effect mention that my pc locked out and needed to be restrarted.
Any quidance on these problems will be appreciate.
Many thanks
Dionisis
Posted: Sat Mar 04, 2006 3:02 pm
by Frank Demont
You have to link in :
C:\xHB\c_lib\Win\version.lib
Re: Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 3:02 pm
by Richard Chidiak
Sakis wrote:Hello to all !!
Trying to compile the new TestRTF sample, the following unresolved externals appeared :
_GetFileVersionInfoSizeA
_GetFileVersionInfoA
_VerQueryValueA
By the way the new samples for ActiveX (WebeExp.prg and media.prg )doesn't work , as side effect mention that my pc locked out and needed to be restrarted.
Any quidance on these problems will be appreciate.
Many thanks
Dionisis
Dionisis
For the first problem you have to link version.lib
You will find this in \xhb\c_lib\win
For the second problem, i guess (not tested) you have to download the new march build
Richard
Posted: Sat Mar 04, 2006 3:31 pm
by Sakis
Hello Richard
I already download today's release but nothing hapens. The problems renmains the same .
Many Thanks for your help.
TIA
Dionisis
Posted: Sat Mar 04, 2006 4:29 pm
by Antonio Linares
Posted: Sun Mar 05, 2006 7:15 am
by Sakis
Hi Antonio
Unfortunately the WebeXP and media sample not running with this obj file (test.obj).
Here is the link for the error log file.
http://hyperupload.com/download/cf0ab040/Error.log.html
I am sure that you find the solution on this problem
Many thanks
Dionisis
Posted: Sun Mar 05, 2006 9:11 am
by Antonio Linares
Dionisis,
Please link Fivehmx.lib before xharbour libraries.
You may download fwh.exe again, so there is no need to use the obj I provided
Posted: Sun Mar 05, 2006 9:23 am
by Sakis
Hi Antonio
I use the commercial compiler of xHarbour not the one that comes from xHarbour.org so there is no such a way to rearange the way that compiler and linker process the libraries. Except there is a way.....
TIA
DIONISIS
Posted: Sun Mar 05, 2006 9:26 am
by Antonio Linares
Dionisis,
Do you use xharbour builder to build samples\webexp.prg ?
We have successfully built it using xharbour builder.
Posted: Sun Mar 05, 2006 9:53 am
by Sakis
Yes Antonio
I use the xHarbour builder to build the sample, but i get the same error.log as those i already sented to you.
TIA
Dionisis
Posted: Sun Mar 05, 2006 10:13 am
by Antonio Linares
Dionisis,
Do you have an ActiveX.lib ? If so, please rename it as _ActiveX.lib.
Or replace it for this one (from the xHB demo):
http://hyperupload.com/download/d7a0b69 ... X.lib.html
I appreciate your feedback,
Posted: Sun Mar 05, 2006 10:35 am
by Sakis
Hi agn Antonio
Changing the original ActiveX.lib with the demo one i have the following Unresolved External.
_HB_FUN_TACTIVEX
By the way the demo's ActiveX library size is only 5 kb as the original is almost 110kb.
TIA
Dionisis
Posted: Sun Mar 05, 2006 10:47 am
by Antonio Linares
Dionisis,
TActiveX() is provided in Fivehmx.lib. Are you linking Fivehmx.lib ?
This problem is caused because xHB has used the name TActiveX that we were already using for this Class.
> By the way the demo's ActiveX library size is only 5 kb as the original is almost 110kb.
Yes, its an empty library they provide with the demo version.
Dionisis, are you testing samples\webexp.prg or is it part of your application ?
Posted: Sun Mar 05, 2006 4:36 pm
by Sakis
Good afternoon Antonio
1. Yes i link FiveHmx.Lib.
2. No there is no part of an application . Just the sample that provided with March release of FWH.
3. There is no way to run any of those 3 samples. So i gave up , i can live without it. I hope , not needed to include this feature in any of my applications.
Thank's for your time
TIA
Dionisis
Posted: Sun Mar 05, 2006 5:10 pm
by Richard Chidiak
Sakis wrote:Good afternoon Antonio
1. Yes i link FiveHmx.Lib.
2. No there is no part of an application . Just the sample that provided with March release of FWH.
3. There is no way to run any of those 3 samples. So i gave up , i can live without it. I hope , not needed to include this feature in any of my applications.
Thank's for your time
TIA
Dionisis
Dionisis and Antonio
I can build webexp without problem with xhb (february) and fwh march.
Build works OK, executing the program GPF direct
Richard