Trying to Migrate Harbour

Post Reply
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Trying to Migrate Harbour

Post by vilian »

Friends,

I'm trying to migrate my application from xHarbour to Harbour. Now I have a problem compiling the TwBrowse Hernan class. Incidentally, I can usually compile the class, but to link the application generates the following error:

Error: Unresolved external '_HB_FUN_DBSKIPPER' referenced from C:\FWH13\LIB\TWBRW32H.LIB|WBROWSE

I Have tbrowse.prg includes the following:

Code: Select all

#ifdef __HARBOUR__
   #ifndef __XHARBOUR__
      #xtranslate _DbSkipper => DbSkipper
   #endif
#endif
But not solved ... Does anyone have this working class to harbour 3.2/FWH 13/08?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Lailton
Posts: 99
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: Trying to Migrate Harbour

Post by Lailton »

Try

#ifdef __HARBOUR__
#ifndef __XHARBOUR__
#xtranslate DbSkipper => DbSkip
#endif
#endif
Regards,
Lailton Fernando Mariano
https://www.harbour.ninja
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Trying to Migrate Harbour

Post by Richard Chidiak »

try this

#ifndef __XHARBOUR__
FUNCTION DbSkipper( n ) ; RETURN __DbSkipper( n )
FUNCTION DbPack() ; RETURN __DbPack()
FUNCTION DbZap() ; RETURN hb_DbZap()
FUNCTION CurDrive( x ) ; RETURN hb_CurDrive( x )
#EndIf

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Trying to Migrate Harbour

Post by vilian »

Thanks Richard,

Now I can generate the EXE, but when I run it, is generating an APPCRASH!
Gotta do some more modification to the code wbrowse.prg?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Post Reply