Utilizar nullrdd

Utilizar nullrdd

Postby Baxajaun » Tue Jun 02, 2020 7:06 pm

Buenas tardes !

Estoy tratando de usar nullrdd de Harbour con FWH, he creado un prg llamado NoRdd.prg

Code: Select all  Expand view
//NoRdd.prg
// Funciones dummy para FWH para no usar RDDs

FUNCTION DBInfo()
RETURN NIL

FUNCTION FieldType()
RETURN NIL

FUNCTION FieldLen()
RETURN NIL

FUNCTION FieldDec()
RETURN NIL

FUNCTION __DbSkipper()
RETURN NIL

FUNCTION OrdKeyRelPos()
RETURN NIL

FUNCTION OrdSetFocus()
RETURN NIL

FUNCTION OrdKeyGoto()
RETURN NIL

FUNCTION OrdKeyNo()
RETURN NIL

FUNCTION OrdKeyCount()
RETURN NIL

FUNCTION OrdBagName()
RETURN NIL

FUNCTION DbRecordInfo()
RETURN NIL

FUNCTION DbRunLock()
RETURN NIL

FUNCTION OrdKeyVal()
RETURN NIL

FUNCTION OrdWildSeek()
RETURN NIL

FUNCTION DbClearFilter()
RETURN NIL

FUNCTION DbSetFilter()
RETURN NIL

FUNCTION OrdNumber()
RETURN NIL

FUNCTION OrdDescend()
RETURN NIL

FUNCTION OrdCount()
RETURN NIL

FUNCTION DbrLockList()
RETURN NIL

FUNCTION DbCommit()
RETURN NIL

FUNCTION OrdCondSet()
RETURN NIL

FUNCTION OrdCreate()
RETURN NIL

FUNCTION __DbLocate()
RETURN NIL

FUNCTION OrdSkipRaw()
RETURN NIL

FUNCTION DbFilterBlock()
RETURN NIL


Pero obtenemos el siguiente error
Code: Select all  Expand view
f:/develop/ccompilers/winlibs/1032/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.1.0/../../../../i686-w64-mingw32/bin/ld.exe: F:\Develop\FWH\LIB\FiveHG.lib(DBFFUNC2.o):DBFFUNC2.c:(.text+0x2d5): undefined reference to `hb_rddGetCurrentWorkAreaPointer


Comentar que enlazo la lib de Harbour nullrdd.

Alguna idea.

Muchas gracias.

Saludos,
User avatar
Baxajaun
 
Posts: 961
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: Utilizar nullrdd

Postby Antonio Linares » Wed Jun 03, 2020 12:57 pm

Felix,

Si no me equivoco, no es necesario que definas esas funciones.

Nosotros estamos usando nullrdd es las pruebas que estamos haciendo usando Visual Studio y solo es necesario enlazarlo.

https://github.com/FiveTechSoft/harbour_app_msvc64_sources

https://github.com/FiveTechSoft/libharbour_msvc64_sources
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Utilizar nullrdd

Postby Baxajaun » Wed Jun 03, 2020 6:23 pm

Antonio,

hasta lo que se yo, es imposible usar Harbour y FWH sin alguno de los RDDs, aunque enlacemos la librería nullrdd , deberemos usar uno de los RDDs (ntx, cdx, six, ...), en caso contrario nos encontraremos con el error que he comentado.

Muchas gracias.

Saludos,
User avatar
Baxajaun
 
Posts: 961
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 75 guests