Access Vialation when ZConnection.Connection called!

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

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Opilki_Inside
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 24.07.2006, 15:23
Contact:

Access Vialation when ZConnection.Connection called!

Post by Opilki_Inside »

Hi guys!

I'v got an AV when I try to call ZConnection.Connect. I have ascertained AV occur in ZPlainMySqlDriver.pas: line 2542:
function TZMySQL41PlainDriver.Init(var Handle: PZMySQLConnect): PZMySQLConnect;
begin
MYSQL_API.mysql_server_init(0, nil, nil); // <--- AV
Handle := MYSQL_API.mysql_init(nil);
Result := Handle;
end;
protocol - mysql-4.1
Zeosdbo version - zeos_testing_rev_64.zip and zeos_testing_rev_90.zip

Test of message:
Access vialation at address 00000000 read of Address 00000000
What's wrong?

Is there any official releas of Zeos for Delphi2006?
Opilki_Inside
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 24.07.2006, 15:23
Contact:

Post by Opilki_Inside »

It's difficult to understand, but when I choosed protocol mysql-5 It began to work properly!
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Then it's probably a DLL version related problem
Post Reply