FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour recompilar fiveh.lib
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 11:08 AM

Y en harbour.c que es lo que falla...

Gracias

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 01:17 PM
En harbour.prg tienes que poner estas l铆neas al principio:

Code (fw): Select all Collapse
#ifdef __HARBOUR__
   #ifndef __XHARBOUR__
      function HB_DBG_VMSTKLCOUNT( x ) ;  return __DBGVMSTKLCOUNT( x )
      function HB_DBG_VMPARLLIST( x ) ;   return __DBGVMPARLLIST( x )
      function HB_DBG_VMVARLGET( x, y ) ; return __DBGVMVARLGET( x, y )
      function HB_DBG_VMVARSLEN() ;       return __DBGVMVARSLEN()
   #endif
#endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 01:55 PM
Gracias Antonio, mejoro pero ahora me da estos errores

Code (fw): Select all Collapse
Executando: ILINK32 @B32.BC
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_CURDRIVE' referenced from E:\FWH712\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWH712\LIB\FIVEH.LIB|DDE
Error: Unresolved external '_HB_FUN_GETCPU' referenced from E:\FWH712\LIB\FIVEH.LIB|ERRSYSW
Error: Unresolved external '_HB_FUN_DBSKIPPER' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE


En lo que respecta al programa en s铆
Createobject en xharbour funciona y no enlazo ninguna librer铆a el prg es de Ricardo de Moura Marques
SETBALLOON, HB_FUN_SETGETCOLORFOCUS es di fivewin

HB_FUN_HB_ZIPFILE seguramente la tengo que modificar ya que enlazo hbzlib.lib y me faltara alguna librer铆a ya que en xharbour son 2 zlib.lib y hbzip.lib, donde zlib es la equivalencia a hbzlib y no encuentro la equivalencia de hbzip.lib en harbour


HB_FUN_HB_CODEPAGE_ESWIN segurmente no enlaze hbcpage.lib


Code (fw): Select all Collapse
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_ESWIN' referenced from OBJ\FUNCION.OBJ
Error: Unresolved external '_HB_FUN_SETBALLOON' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_SETGETCOLORFOCUS' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.Obj


Estamos mejorando

Gracias
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 02:48 PM
Faltaba este error

Code (fw): Select all Collapse
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_DBSKIPPER' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE


Gracias
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 04:30 PM

A帽ade esta funci贸n:

function DbSkipper( x )

return _DbSkipper( x )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 04:42 PM

Tambien esta:

function CurDrive( x )

return hb_CurDrive( x )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 04:43 PM

Tienes que enlazar hbwin.lib para CreateObject()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 05:23 PM
Gracias Antonio las 2 funciones las puse en mi programa principal y

Error: Unresolved external '_HB_FUN_CURDRIVE' referenced from E:\FWH712\LIB\FIVEH.LIB|FILENAME funcion贸

la otra no y me di贸 estos nuevos errores

Code (fw): Select all Collapse
Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWH712\LIB\FIVEH.LIB|DBTOOLS
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_SETBALLOON' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_SETGETCOLORFOCUS' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.OBJ
Error: Unresolved external '_HB_FUN__DBSKIPPER' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_GETCPU' referenced from E:\FWH712\LIB\FIVEH.LIB|ERRSYSW


Aqu铆 estan las librer铆as enlazadas
Code (fw): Select all Collapse
FiveH.lib FiveHC.lib +
hbrtl.lib +      
hbvm.lib +       
gtwin.lib + 
hblang.lib +     
hbmacro.lib +    
hbrdd.lib +      
hbcpage.lib + 
hbwin.lib +       
rddntx.lib +   
rddcdx.lib +   
rddfpt.lib +   
hbsix.lib +    
hbcommon.lib +   
hbpp.lib +       
cw32.lib +     
import32.lib + 
nddeapi.lib +
iphlpapi.lib +
rasapi32.lib +
,
"E:\marescah\MARESCA.RES" +


No pens茅 que pod铆a ser tan engoroso cambiar de compilador
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 05:48 PM
Complie nuevamente y di贸 esto


Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWH712\LIB\FIVEH.LIB|DBTOOLS
Error: Unresolved external '_HB_FUN__DBSKIPPER' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_SETBALLOON' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_SETGETCOLORFOCUS' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.OBJ //este lo puedo arreglar
Error: Unresolved external '_HB_FUN_GETCPU' referenced from E:\FWH712\LIB\FIVEH.LIB|ERRSYSW

Luis
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 08:50 PM

Prueba con dos guiones:

function DbSkipper( x )

return __DbSkipper( x )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Fri Sep 21, 2012 09:04 PM

Disculpa, creo que es al reves:

Prueba con dos guiones:

function _DbSkipper( x )

return __DbSkipper( x )

function _DbSkipper( x )

return __DbSkipper( x )

Esto se debe a que usaba distintos nombres en Harbour y xHarbour

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Sat Sep 22, 2012 12:38 AM
Antonio prob茅 con la funci贸n (yo las veo las dos iguales). Hice un prg con tu funci贸n la compile y el obj lo adicione a la librer铆a fiveh.lib e intent茅 ingresando la funci贸n en mi prg original y en los dos casos sigui贸 dando el mismo error.
Lo que hice fue reemplazar tanto en tdatabse como en wbrowse (cuando arregle database empez贸 a fallar en el mismo lado wbrowse), donde dec铆a en los m茅todos
_DbSkipper cambiarlo por __dbskipper y voil谩 compilo.
Tambi茅n agregue harbour-32-bcc.lib para ver que pasaba y no se si fue esto o que pero limpi贸 algunos errores

Code (fw): Select all Collapse
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '__astart' referenced from C:\HARB2LIB582H\FIVEH.LIB|libmain
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.OBJ


Salto esta libmain...

La librer铆a hbwin.lib va en algun lugar en especial de la compilaci贸n???
En xharbour HB_ZIPFILE' esta EN HBZIP.LIB en harbour d贸nde??
As铆 esta ahora las librer铆as en el script

Code (fw): Select all Collapse
FiveH.lib FiveHC.lib +
hbrtl.lib + 聽 聽 聽
hbvm.lib + 聽 聽 聽 
gtgui.lib + 
hblang.lib + 聽 聽 
hbmacro.lib + 聽 聽
hbrdd.lib + 聽 聽 聽
hbcpage.lib + 
rddntx.lib + 聽 
rddcdx.lib + 聽 
rddfpt.lib + 聽 
hbsix.lib + 聽 聽
harbour-32-bcc.lib + 聽 聽 
hbcommon.lib + 聽 
hbpp.lib + 聽 聽 聽 
hbwin.lib + 聽 聽 聽
hbzlib.lib + 聽 聽 
cw32.lib + 聽 聽 
import32.lib + 
nddeapi.lib +
iphlpapi.lib +
rasapi32.lib +



Muchas gracias nuevamente por la paciencia
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Sat Sep 22, 2012 07:32 AM

No enlaces harbour-32-bcc.lib y dime cuales te aparecen, gracias :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 652
Joined: Wed Oct 19, 2005 12:03 PM
Re: recompilar fiveh.lib
Posted: Sat Sep 22, 2012 10:07 AM
Sacando la libreria me sigue dando los mismos errores

Code (fw): Select all Collapse
Executando: ILINK32 @B32.BC
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '__astart' referenced from C:\HARB2LIB582H\FIVEH.LIB|libmain
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.OBJ


luis
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: recompilar fiveh.lib
Posted: Sat Sep 22, 2012 11:09 AM

Luis,

No tiene por que existir un "libmain" dentro de FiveH.lib. No se como ha llegado ahi. Lo habr谩s metido por error ?

Respecto a las otras dos funciones, de momento declaralas vacias a la espera de que veamos por que no las encuentra:

function CreateObject()

return nil

y prueba a arrancar la aplicaci贸n.

Lo suyo ser铆a que usases el FWH m谩s reciente y no una versi贸n tan antigua... :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com