FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 15.07 - Unresolved externals
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
FWH 15.07 - Unresolved externals
Posted: 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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 06: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 06: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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 06:49 PM

Thanks my friend

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 07:00 PM
Again we need to create a xfw.lib from a xfw.def file:

xfw.def
Code (fw): Select all Collapse
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 07: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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 07:10 PM

Problem solved, Antonio.

I'm very very greatful to you.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Thu Aug 13, 2015 07:15 PM

Very good :-)

Thanks Michel

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH 15.07 - Unresolved externals
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Wed Sep 16, 2015 06: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH 15.08 - Unresolved externals
Posted: Wed Sep 16, 2015 04: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH 15.07 - Unresolved externals
Posted: Fri Sep 18, 2015 04: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 15.07 - Unresolved externals
Posted: Sat Sep 19, 2015 04:01 AM

Tim,

Yes, surely

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion