Subject Re: Exiting gracefully from lost connection error (335544721)
Author almfgingras
Thank you for the suggestion Adam. Unfortunately, I get the same
result with the close command as I do with Application.Terminate.

I think that the error is generated when the database component is
freed, which is done automatically when its owner is destroyed. At
that specific time, I can no longer intercept the exception, which
results in the 'Send error report to Microsoft' dialog.

Philippe

--- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...> wrote:
>
> What about something more gentle, like a Close; instead of
> Application.Terminate;
>
> You will probably find some component is being freed and then
> receiving some notification. Maybe to do with the order the
connection
> and transaction components are being freed.
>
> Adam
>