Page 1 of 1

New FWH 17.09

PostPosted: Wed Oct 04, 2017 7:45 pm
by Antonio Linares

Re: New FWH 17.09

PostPosted: Thu Oct 05, 2017 7:17 pm
by driessen
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.

Re: New FWH 17.09

PostPosted: Thu Oct 05, 2017 9:55 pm
by Antonio Linares
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: Select all  Expand view
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

Re: New FWH 17.09

PostPosted: Fri Oct 06, 2017 8:05 am
by driessen
Antonio,

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