FWH 15:11 / xHarbour (.com ) build error

FWH 15:11 / xHarbour (.com ) build error

Postby TimStone » Tue Dec 29, 2015 7: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15:11 / xHarbour (.com ) build error

Postby Antonio Linares » Tue Dec 29, 2015 7: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: Select all  Expand view

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

Re: FWH 15:11 / xHarbour (.com ) build error

Postby Antonio Linares » Tue Dec 29, 2015 7:48 pm

regards, saludos

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

Re: FWH 15:11 / xHarbour (.com ) build error

Postby TimStone » Tue Dec 29, 2015 7: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15:11 / xHarbour (.com ) build error

Postby Antonio Linares » Tue Dec 29, 2015 8:02 pm

Tim,

I will try to organize it, thanks
regards, saludos

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

Re: FWH 15:11 / xHarbour (.com ) build error

Postby TimStone » Tue Dec 29, 2015 8: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 15:11 / xHarbour (.com ) build error

Postby Antonio Linares » Tue Dec 29, 2015 8:35 pm

thanks for your great feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
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 36 guests