FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Any side affects of adding hbcompat.ch?
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Any side affects of adding hbcompat.ch?
Posted: Thu May 02, 2019 04:53 AM

I noticed in FWH9.03's fivewin.ch, hbcompat.ch has been remmed out. Any problem if I reenable it?

TIA

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Any side affects of adding hbcompat.ch?
Posted: Thu May 02, 2019 07:43 AM

I can not say what are the side effects. But I remember having removed it after being advised to do so.
The xhb.lib we include in the link script takes care of most of the requirements.
Fivewin.ch itself has some essential cross translates.

Can you add to your link script all the libraries included in buildh.bat and then try your programs without hbcompat.ch.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Any side affects of adding hbcompat.ch?
Posted: Thu May 02, 2019 08:20 AM
For now I added the following to fivewin.ch
Code (fw): Select all Collapse
   #translate ( <exp1> HAS <exp2> )    => hb_regexHas( <exp2>, <exp1> )
   #xtranslate Str( <x>, <n>, <d>, <l> )       => iif( <l>, LTrim( Str( <x>, <n>, <d> ) ), Str( <x>, <n>, <d> ) )
   #xtranslate Str( <x>, <n>,, <l> )           => iif( <l>, LTrim( Str( <x>, <n> ) ), Str( <x>, <n> ) )
   #xtranslate Str( <x>,,, <l> )               => iif( <l>, hb_ntos( <x> ), Str( <x> ) )
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion