Page 1 of 1

Zeos 7.2.4 64bit issue

Posted: 08.12.2018, 20:16
by aehimself
Good day,

I recently tried to build one of my applications to a 64 bit Windows platform target (using Delphi 10.2). The build succeeds, but I can not connect to the MySQL server because of different reasons. I put the 32-bit libmysqld.dll in C:\Windows\SysWOW64 and the 64-bit one in C:\Windows. Both versions were copied from a MySQL installation.

32-bit application: works like a charm
64-bit application: "Can not find library dll"
64-bit application specifying the DLL location: "Library found but could not be loaded"

I also tried to force-build Zeos with 64-bit target (option was grayed out, had to "hack" <Platform value="Win64">True</Platform> in each .dproj) but it failed due to the missing compiled 64-bit designide package. The first search result showed that it's normal, as the IDE is 32-bit only so there is no 64-bit version of it.

Did any of you had success building a 64-bit application with Zeos? Any ideas on what I am doing wrong, why it is not working for me?

Re: Zeos 7.2.4 64bit issue

Posted: 08.12.2018, 20:31
by aehimself
NEVER MIND.

My 64-bit MySQL installation contained a 32-bit libmysql.dll. Try to get your head around that...

I hunted a 64-bit version from the internetz and my 64-bit apps started to work immediately.