Unresolved externals in new TestRtf Sample

User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Unresolved externals in new TestRtf Sample

Post 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
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Post by Frank Demont »

You have to link in :

C:\xHB\c_lib\Win\version.lib
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Unresolved externals in new TestRtf Sample

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Fixed! :D

Please link this OBJ from xHB:
http://hyperupload.com/download/f2f7d320/test.obj.html
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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 :D

Many thanks
Dionisis
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Sakis
Posts: 41
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Post 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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Post Reply