Unresolved externals in new TestRtf Sample

Unresolved externals in new TestRtf Sample

Postby Sakis » Sat Mar 04, 2006 2: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
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Frank Demont » Sat Mar 04, 2006 3:02 pm

You have to link in :

C:\xHB\c_lib\Win\version.lib
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Re: Unresolved externals in new TestRtf Sample

Postby Richard Chidiak » Sat Mar 04, 2006 3: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Sakis » Sat Mar 04, 2006 3: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
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Antonio Linares » Sat Mar 04, 2006 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42075
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Sakis » Sun Mar 05, 2006 7: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 :D

Many thanks
Dionisis
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Antonio Linares » Sun Mar 05, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42075
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Sakis » Sun Mar 05, 2006 9: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
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Antonio Linares » Sun Mar 05, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42075
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Sakis » Sun Mar 05, 2006 9: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
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

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

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

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

Postby Sakis » Sun Mar 05, 2006 4: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
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Richard Chidiak » Sun Mar 05, 2006 5: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Rick Lipkin and 84 guests