Erro loading libmysql.dll

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Erro loading libmysql.dll

Post 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
Post Reply