Any side affects of adding hbcompat.ch?

Post Reply
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Any side affects of adding hbcompat.ch?

Post by hua »

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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Any side affects of adding hbcompat.ch?

Post by nageswaragunupudi »

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

Re: Any side affects of adding hbcompat.ch?

Post by hua »

For now I added the following to fivewin.ch

Code: Select all

   #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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply