Harbour functions not in xHarbour

Post Reply
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Harbour functions not in xHarbour

Post 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?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Harbour functions not in xHarbour

Post by TimStone »

I don't know if they are included, but did you link in the latest xfw.lib to your xHarbour 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
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: Harbour functions not in xHarbour

Post 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.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
Silvio.Falconi
Posts: 7154
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: Harbour functions not in xHarbour

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
hua
Posts: 1077
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: Harbour functions not in xHarbour

Post 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
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: Harbour functions not in xHarbour

Post 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.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Post Reply