Page 1 of 1
Harbour functions not in xHarbour
Posted:
Wed Jan 16, 2019 1:17 am
by James Bott
I need to work with some FWH/Harbour code. When I try to compile it in xHarbour, the compiler complains that the following functions are missing.
_HB_FUN_GETDEFAULTFONTNAME
_HB_FUN_GETDEFAULTFONTHEIGHT
_HB_FUN_GETINI
_HB_FUN_SETGRADIENTBTNBMP
_HB_FUN_ULRIMAGE
_HB_FUN_VALEMPTY
_HB_FUN_GETIMAGE
_HB_FUN_COPYFILES
Are there equivalent functions in xHarbour perhaps with different names? Or, am I going to have to install Harbour to work with this code?
Re: Harbour functions not in xHarbour
Posted:
Wed Jan 16, 2019 10:56 pm
by TimStone
I don't know if they are included, but did you link in the latest xfw.lib to your xHarbour build ?
Re: Harbour functions not in xHarbour
Posted:
Wed Jan 16, 2019 11:15 pm
by James Bott
Tim,
Thanks for the tip, but when I include it, I get this error:
Error: 'C:\FWH\LIB\XFW.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
And I have no idea what that means.
Re: Harbour functions not in xHarbour
Posted:
Thu Jan 17, 2019 12:15 am
by Silvio.Falconi
James Bott wrote:I need to work with some FWH/Harbour code. When I try to compile it in xHarbour, the compiler complains that the following functions are missing.
_HB_FUN_GETDEFAULTFONTNAME
_HB_FUN_GETDEFAULTFONTHEIGHT
_HB_FUN_GETINI
_HB_FUN_SETGRADIENTBTNBMP
_HB_FUN_ULRIMAGE
_HB_FUN_VALEMPTY
_HB_FUN_GETIMAGE
_HB_FUN_COPYFILES
Are there equivalent functions in xHarbour perhaps with different names? Or, am I going to have to install Harbour to work with this code?
Please james erase this post!!!
I sent you a private message
Re: Harbour functions not in xHarbour
Posted:
Thu Jan 17, 2019 5:14 am
by hua
James Bott wrote:Tim,
Thanks for the tip, but when I include it, I get this error:
Error: 'C:\FWH\LIB\XFW.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
And I have no idea what that means.
The lib is required only if you're compiling with the commercial version of xHarbour James
Re: Harbour functions not in xHarbour
Posted:
Thu Jan 17, 2019 5:28 am
by James Bott
Problem solved. I was accidentally linking in code that wasn't part of the program I am working on.
Thanks for the responses.