Thread: [SOLVED] Zeos mySQL linking
View Single Post
  #2  
Old 02-25-2015, 11:49 AM
kolbasz kolbasz is offline
Senior Member
 
Join Date: Nov 2013
Posts: 841
Default

Copy the libmysql.dll to your project folder. It should be a LibraryLocation property(TZconnection), enter the full path to your dll. On form create, you should also give the full path programatically, in case you move your exe/dll, to another folder.

Code:
ZConnection1.LibraryLocation := ExtractFilePath(Application.Exename) + 'libmysql.dll';
Where ZConnection1 is your main TZConnection.

Hope this helps!