Trying to Migrate Harbour

Trying to Migrate Harbour

Postby vilian » Fri Feb 07, 2014 7: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: Select all  Expand view
#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
vilian
 
Posts: 920
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Trying to Migrate Harbour

Postby Lailton » Sat Feb 08, 2014 12:46 am

Try

#ifdef __HARBOUR__
#ifndef __XHARBOUR__
#xtranslate DbSkipper => DbSkip
#endif
#endif
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 136
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: Trying to Migrate Harbour

Postby Richard Chidiak » Sat Feb 08, 2014 7: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Trying to Migrate Harbour

Postby vilian » 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
User avatar
vilian
 
Posts: 920
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 126 guests

cron