Page 1 of 1

Re: Erro loading libmysql.dll

Posted: 05.03.2017, 11:16
by marsupilami
Hello Vipeol,

usualy this means that you try to load a 64 bits dll into a 32 bits application or the other way around. You can either install a client library that matches your program or you change your program.

Under some rare circumstances I had this happen because the dll could not load some other dll that it needed. Usually I solved this with code like that:

Code: Select all

  :
  chdir(ExtractFilePath(ZConnection.LibraryPath));
  ZConnection.Connect;
  chdir(ExtractFilePath(Application.ExeName);
  :
Best regards,

Jan