Zeos 7.2.4 64bit issue

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
User avatar
aehimself
Zeos Dev Team
Zeos Dev Team
Posts: 766
Joined: 18.11.2018, 17:37
Location: Hungary

Zeos 7.2.4 64bit issue

Post 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?
Delphi 12.1, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2
User avatar
aehimself
Zeos Dev Team
Zeos Dev Team
Posts: 766
Joined: 18.11.2018, 17:37
Location: Hungary

Re: Zeos 7.2.4 64bit issue

Post 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.
Delphi 12.1, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2
Post Reply