FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 17.09
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 17.09
Posted: Wed Oct 04, 2017 07:45 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: New FWH 17.09
Posted: Thu Oct 05, 2017 07:17 PM
Antonio,

I got an error when building my application with xHarbour Builder.
The error : Unresolved external symbol '_PrintWindow referenced from FiveHCM.lib (Ribbon.obj)'.
What can I do to solve this problem?

Thanks.

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: New FWH 17.09
Posted: Thu Oct 05, 2017 09:55 PM
Michel,

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

We 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
    PrintWindow             @2195


And finally:
c:\vc98\bin\lib.exe /def:xfw.def /out:xfw.lib

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

Here it is xfw.lib, already built:
https://bitbucket.org/fivetech/fivewin-contributions/downloads/xfw_20171005.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: New FWH 17.09
Posted: Fri Oct 06, 2017 08:05 AM

Antonio,

Thanks a lot for your help.
Problem solved.
Have a nice weekend.

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

Continue the discussion