FWH 15.07 - Unresolved externals

FWH 15.07 - Unresolved externals

Postby driessen » Thu Aug 13, 2015 12:36 pm

Hello,

I try to use FWH 15.07 and I'm getting errors "Unresolved externals".

These externals are :
- "_GetMenuInfo"
- "_GetWindowLongPtr"
- "_SetMenuInfo"
- "_GetMenuBarInfo"

all from FiveHCM.lib (MENUDRAW.OBJ).

Can this be solved?

If I remember well, the same problem occured in FWH 15.05. A new build by Antonio solved this problem.

Thanks in advance.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Aug 13, 2015 6:29 pm

Michel,

I am working to solve it

We need to detect that we are compiling with VC98 for xhb.com so I am looking for a VC98 identifier
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Aug 13, 2015 6:46 pm

I solved that one, but now we need to apply this again:

viewtopic.php?p=119844#p119844

I am working on it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby driessen » Thu Aug 13, 2015 6:49 pm

Thanks my friend
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Aug 13, 2015 7:00 pm

Again we need to create a xfw.lib from a xfw.def file:

xfw.def
Code: Select all  Expand view

LIBRARY     USER32.DLL

EXPORTS
    GetMenuInfo             @1871
    GetWindowLongPtr    @1968
    SetMenuInfo              @2291
    GetMenuBarInfo        @1867
 


And finally:
lib.exe /def:xfw.def /out:xfw.lib

lib.exe is the Microsoft library manager, we used the lib.exe that comes with VC98

I am going to build it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Aug 13, 2015 7:05 pm

Here it is:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/xfw.lib

Michel I wait your feedback, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby driessen » Thu Aug 13, 2015 7:10 pm

Problem solved, Antonio.

I'm very very greatful to you.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Aug 13, 2015 7:15 pm

Very good :-)

Thanks Michel
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby TimStone » Tue Sep 15, 2015 11:22 pm

I'm getting the same error with 15.08. I used the .lib you built with xHarbour (.com ) and that worked. However, my builds with Harbour / MSVC will not work. Trying to open a dialog makes the .exe stop working.

Was their another file we need to link in with the Harbour/MSVC builds ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Wed Sep 16, 2015 6:30 am

Tim,

There is no need to link an extra lib for MSVC.

Could you provide an example ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.08 - Unresolved externals

Postby TimStone » Wed Sep 16, 2015 4:56 pm

Antonio,

I can't bring it down to a small sample.

Program built using Harbour, MSVC 2013, and FWH 15.06 works fine.
Exact same program, and build, using FWH 15.08, will build, and execute the main screen. However, once I try to display a dialog with GET fields, the program "stops working" ... a windows error.

Build it with xHarbour.com and the extra file, and it works.

By deduction, source code is OK, but the additional items must be requiring a Microsoft .lib that is not being linked in !

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Thu Sep 17, 2015 10:15 am

Tim,

We are doing some more work with FWH 15.08 as we are implementing full unicode support.

So I suggest you to wait until we release a new revised build, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 15.07 - Unresolved externals

Postby TimStone » Fri Sep 18, 2015 4:16 pm

Based on your comment elsewhere, would that be 15.09 ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15.07 - Unresolved externals

Postby Antonio Linares » Sat Sep 19, 2015 4:01 am

Tim,

Yes, surely
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests