Trapping logon error with Delphi

Trapping logon error with Delphi

Postby tedmondson » Thu 21 Apr 2005 20:35

I'm experimenting with MySQL DAC with Delphi 5. I'm trying to trap a logon error, such as an invalid password, using the try...except...end structure and display my own error form. However, no matter where I place my trap, the DAC package displays its own error form and a Windows error occurs when closing the form.

How can I trap logon errors?

Posts: 1
Joined: Thu 21 Apr 2005 19:35
Location: Asheville, NC

Postby Ikar » Fri 22 Apr 2005 14:35

Pay attention to Mydac\Demos\ConnectDialog\ - this demo project includes samples of errors processing.
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Return to MySQL Data Access Components