FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Ole2TxtError() - Error de no existir LIBMYSQL.DLL
Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Ole2TxtError() - Error de no existir LIBMYSQL.DLL
Posted: Sun Dec 20, 2020 11:03 AM
Me est谩 sucediendo un error muy extra帽o.
Para comprobar si est谩 instalado excel tengo que utilizar la funci贸n Ole2TxtError() pero una vez compilado correctamente el programa al ejecutarlo windows arroja el error siguiente:
"La ejecuci贸n del c贸digo no puede continuar porque no se encuentra LIBMYSQL.DLL"

Si elimino esa funci贸n todo funciona correctamente. No encuentro como solucionarlo.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Ole2TxtError() - Error de no existir LIBMYSQL.DLL
Posted: Sun Dec 20, 2020 01:21 PM

You have to link in the libmysql.dll

Somewhere in you .MAK file :

echo TEST.EXE, + >> b32.bc
echo TEST.MAP, + >> b32.bc
-> echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib $(FWDIR)\lib\libmysql.lib $(FWDIR)\lib\BARLIB32.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc

The part with libmysql

So,
1) Please ensure you are linking all the libs in buildx.bat / buildh.bat in your application script.
2) Copy the same libmysql.lib from fwh\samples folder to your exe path.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: Ole2TxtError() - Error de no existir LIBMYSQL.DLL
Posted: Sun Dec 20, 2020 01:23 PM

Intente desinstalar y volver a instalar la aplicaci贸n.

Saludos.

Jo茫o Santos - S茫o Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion