Error de tdolphin

Error de tdolphin

Postby noe aburto » Sat Mar 19, 2016 12:36 am

Saludos.

Iniciando con tDolphin que necesito para accesar desde mi app en dbf's a una bases bases de datos de Mysql para poder exportar la informacion a dbf

1. creo la lib tdolphin.lib, con los programas.
Tdolpexp.prg
Tdolpqry.prg
Tdolpsrv.prg
dolerr.ch
tdolphin.ch (porfavor, indicarme csi me hacen falta agrergar prg, ch o c)

2. en mi app. incluyo las lib.
tDolphin.lib (creada)
libmysql.lib
libmysqlm.lib

3. me marca error:

Enlazando pve.exe...
Error: 'C:\AUTOSYS\PRGS\TDOLPHIN\LIB\LIBMYSQLM.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
29 Files, 0 Warnings, 1 Errors
Tiempo de compilación: 46.69s Tiempo de enlazado: 0.62s Tiempo total: 47.43s

Ayuda porfa.
Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
User avatar
noe aburto
 
Posts: 418
Joined: Wed Nov 26, 2008 6:33 pm
Location: Morelia, Mich. Mexico.

Re: Error de tdolphin

Postby Antonio Linares » Sat Mar 19, 2016 8:55 am

Noé,

> LIBMYSQLM.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

Esa librería no es compatible con Borland. Tienes que usar la correcta para Borland.
regards, saludos

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

Re: Error de tdolphin

Postby noe aburto » Sat Mar 19, 2016 7:43 pm

Sigo con la duda.

Saludos Antonio, donde o como creo la lib (LIBMYSQLM.LIB) correcta para la version de Borland.
Debo considerar agregar otras lib aparte de tdolphin para que mi app se genere correctamente con tdolphin?

Gracias.
Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
User avatar
noe aburto
 
Posts: 418
Joined: Wed Nov 26, 2008 6:33 pm
Location: Morelia, Mich. Mexico.

Re: Error de tdolphin

Postby carlos vargas » Sat Mar 19, 2016 9:12 pm

puedes crearla con
el comando implib de borland
creo que es :
implib libmysql.lib libmysql.dll
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1719
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Error de tdolphin

Postby noe aburto » Sat Mar 19, 2016 10:59 pm

Aqui otra vez.

Mis errores de compilacion:

Enlazando pve.exe...
Error: Unresolved external '_HB_FUN_MYSQLCOMMIT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLERROR' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLGETERRNO' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSERVERINFO' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYCLIENTINFO' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQL_NEXT_RESULT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLPING' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLROLLBACK' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLEMBEDDED' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYBACKUP' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLCONNECT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLSSLCONNECT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_D_READFILE' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_VAL2ESCAPE' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLLISTFIELDS' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLRESULTSTRUCTURE' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYAND' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLLISTDBS' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLLISTTBLS' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLESCAPE' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYFIND' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLDATASEEK' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLFETCHROW' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLSTORERESULT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLNUMROWS' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLFIELDCOUNT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYLOCATE' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSEEK2' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_MYSQLSELECTDB' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_MYSQLQUERY' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN__SETMULTISTATEMENT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_DOL_GETERROTEXT' referenced from C:\AUTOSYS\PRGS\TDOLPHIN\LIB\TDOLPHIN.LIB|tdolpsrv
Error: Unable to perform link
0 Files, 0 Warnings, 33 Errors
Tiempo de compilación: 0.00s Tiempo de enlazado: 1.42s Tiempo total: 1.53s

Cuales de las 4 libs de tdolphin son realmente las que debo incluir en mi app: (aparte de tdolphin.lib)

1. libmysql.lib
2. libmysqld.lib
3. libmysqlm.lib
4. libmysqldm.lib
Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
User avatar
noe aburto
 
Posts: 418
Joined: Wed Nov 26, 2008 6:33 pm
Location: Morelia, Mich. Mexico.

Re: Error de tdolphin

Postby carlos vargas » Mon Mar 21, 2016 1:52 am

para usar dolphin se usan:
dolphin.lib y libmysql.lib

salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1719
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Horizon and 93 guests