FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Unresolved externals in new TestRtf Sample
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 02:42 PM

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

Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 03:02 PM

You have to link in :

C:\xHB\c_lib\Win\version.lib

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 03:02 PM
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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 03:31 PM

Hello Richard

I already download today's release but nothing hapens. The problems renmains the same .

Many Thanks for your help.

TIA
Dionisis

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unresolved externals in new TestRtf Sample
Posted: Sat Mar 04, 2006 04:29 PM

Fixed! :D

Please link this OBJ from xHB:

http://hyperupload.com/download/f2f7d320/test.obj.html

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 07:15 AM
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 09:11 AM

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 :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 09:23 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 09:26 AM

Dionisis,

Do you use xharbour builder to build samples\webexp.prg ?

We have successfully built it using xharbour builder.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 09:53 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 10:13 AM

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,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 10:35 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 10:47 AM

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 ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 42
Joined: Fri Oct 21, 2005 02:12 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 04:36 PM

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

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Unresolved externals in new TestRtf Sample
Posted: Sun Mar 05, 2006 05:10 PM
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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013