FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Trying to Migrate Harbour
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Trying to Migrate Harbour
Posted: Fri Feb 07, 2014 07:55 PM
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 (fw): Select all Collapse
#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
Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Trying to Migrate Harbour
Posted: Sat Feb 08, 2014 12:46 AM

Try

ifdef HARBOUR

#ifndef XHARBOUR
#xtranslate DbSkipper => DbSkip
#endif

endif

Regards,

Lailton Fernando Mariano
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Trying to Migrate Harbour
Posted: Sat Feb 08, 2014 07:11 AM

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
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: Trying to Migrate Harbour
Posted: Mon Feb 10, 2014 11:16 AM

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

Continue the discussion