FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour functions not in xHarbour
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Harbour functions not in xHarbour
Posted: Wed Jan 16, 2019 01: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Harbour functions not in xHarbour
Posted: 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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Harbour functions not in xHarbour
Posted: 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Harbour functions not in xHarbour
Posted: 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 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
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Harbour functions not in xHarbour
Posted: Thu Jan 17, 2019 05: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Harbour functions not in xHarbour
Posted: Thu Jan 17, 2019 05: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

Continue the discussion