FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 15:11 / xHarbour (.com ) build error
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
FWH 15:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 07:01 PM

The build is fine with FWH 15.10 but in 15.11 I get the following error:

xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.

xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.

The error does not occur with VS 2013 / Harbour build

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:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 07:46 PM
Again we need to create a xfw.lib from a xfw.def file:

I use peinfo.exe to inspect Windows user32.dll and obtain the ordinal number of each function:
https://bitbucket.org/fivetech/fivewin-contributions/downloads/peinfo.exe

xfw.def
Code (fw): Select all Collapse
LIBRARY     USER32.DLL

EXPORTS
    GetMenuInfo             @1871
    GetWindowLongPtr    @1968
    SetMenuInfo              @2291
    GetMenuBarInfo        @1867 
    GetComboBoxInfo     @1814
    GetListBoxInfo          @1862


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:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 07:48 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH 15:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 07:50 PM

Since we already link in an xfw.lib perhaps that should be included with fwh builds when changes occur ?

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:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 08:02 PM

Tim,

I will try to organize it, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: FWH 15:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 08:13 PM

Thanks.

That built fine

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:11 / xHarbour (.com ) build error
Posted: Tue Dec 29, 2015 08:35 PM

thanks for your great feedback :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion