exceptons thrown when form is exiting the applications

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ashlar64_

exceptons thrown when form is exiting the applications

Post by ashlar64_ » Thu 01 Jun 2006 21:06

Hello,

I have a LED which is green which turns green when a successful connection to MySQL is accomplished (I set it green in the AfterConnect even on a MyConnection component)

But when I put some code to turn it red in either the AfterDisconnect or BeforeDisconnect event it works great....except when the program exits. When it exits I get alot of weird Exceptions. Is there a way to solve this elegantly?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 05 Jun 2006 08:10

We couldn't reproduce this problem. Please try to comment the only code that changes colour of the LED and test your application once again. If problem disappeared, try to create a small sample that demonstrates the problem. Send us this sample for testing.
But if problem persists, please report us what version of MyDAC do you use. Number of version and type of license (pro, std, trial) is required.

Post Reply