Exception handling with Delphi7
Posted: Wed 20 Sep 2006 11:15
Hi,
i'm working on app. that uses myDAC (v4.3) and Delphi7 and have question regarding myDAC except handling.
How to override myDAC exception handler? I would like to make my own handler (mostly to show my messages like 'wrong password, try again'), but in my try block myDAC already handles exceptions and my except block can't see any exception.
One example would be - entering wrong password or username while trying to connect to DB.
i'm working on app. that uses myDAC (v4.3) and Delphi7 and have question regarding myDAC except handling.
How to override myDAC exception handler? I would like to make my own handler (mostly to show my messages like 'wrong password, try again'), but in my try block myDAC already handles exceptions and my except block can't see any exception.
One example would be - entering wrong password or username while trying to connect to DB.