Page 1 of 1

Error when close application

Posted: 15.01.2010, 10:09
by SAN_i
Hello.
I`m write my program that using dll.
In one of my dll i have form with TZConnection. For connecting and disconnecting i use method "Connect" and "Disconnect".
So, if i was do connect then when i close my application i have error:
Project F:\Main\Fitnes.exe raised too many consecutive exeptions: 'access violation at 0x06af554e: read of address 0x06ea9e60'.
I`m using: Delphi2010, MySQL 5.0, ZEOSLIB_TRUNK_REV741

Please, help me.

Error on Exit

Posted: 22.08.2010, 03:08
by mparak
Hi
In the form's on close or close event try to :
If Zconnection1.connected then Zconnection1.disconnect;
This should close the open connection before the form is destroyed.
Regards
M