ZTokenizer.pas cause runtime error under delphi 7

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
mustdev
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 07.11.2005, 15:43

ZTokenizer.pas cause runtime error under delphi 7

Post by mustdev »

Hi
I have use 6.5.1 with no probleme , I installe 6.6.0 Beta and now
I have access violation ( Runtime error 216 ) under delphi 7 and Mys sql in all
Project where I use Zeoslib soon in package example.
Have any idia to solve this or I returene to 6.5.1
Thanks
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi,

Why don't you use 6.6.1 beta?

I suppose you use protocol mysql (without version number)? In that case you must make sure you use the right libmysql version (mysql5!!) as well. If you're still using a mysql4.x dll, choose the right protocol.

Mark
mustdev
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 07.11.2005, 15:43

Post by mustdev »

thanks for replay

I have tested your suugestion with using mysql-4.1,Mysql-5, mysqld-4 and mysqld-5, will I have the same error I used zcontroleexample to teste
I have
Mysql server 4.1.22

Thanks any idia
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Did you also try to use the dll's provided in the zeoslib distribution? Put the one you want to use next to your exe file. Copy lib/libmysql41.dll and use protocol mysql-4.1. These access violations usually have to do with library versions. It becomes extremely tricky when files named 'libmysql.dll' are somewhere else on your machine (and even more in the system path).

Mark
mustdev
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 07.11.2005, 15:43

Post by mustdev »

Thanks you resoled my probleme , I had forgeted to put libmysqlxx.dll in system path , norlaly I put it in system32 rep.
Post Reply