Harbour functions not in xHarbour

Harbour functions not in xHarbour

Postby James Bott » Wed Jan 16, 2019 1:17 am

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Harbour functions not in xHarbour

Postby TimStone » Wed Jan 16, 2019 10:56 pm

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
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Harbour functions not in xHarbour

Postby James Bott » Wed Jan 16, 2019 11:15 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Harbour functions not in xHarbour

Postby Silvio.Falconi » Thu Jan 17, 2019 12:15 am

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: Harbour functions not in xHarbour

Postby hua » Thu Jan 17, 2019 5:14 am

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
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Harbour functions not in xHarbour

Postby James Bott » Thu Jan 17, 2019 5:28 am

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 36 guests