Subject Re: Exiting gracefully from lost connection error (335544721)
Author Adam
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

--- In firebird-support@yahoogroups.com, "almfgingras"
<almfgingras@y...> wrote:
>
> Hi Ivan,
>
> Thank you for your suggestion. Unfortunately, it doesn't solve the
> problem. I still get the 'send report to Microsoft' prompt.
>
> If this is not a Firebird-related question, where should it be
> posted?
>
> Thanks again,
> ----
> Philippe Gingras
>
> --- In firebird-support@yahoogroups.com, "Ivan Prenosil"
> <Ivan.Prenosil@s...> wrote:
> >
> >
> > This is not Firebird-related question, but anyway ...
> >
> > You shoud ensure that no error occur unhandled inside OnException,
> e.g.
> >
> > try
> > dmMain.dbCMMS.ForceClose; // Forcing database to close
> > except
> > end;
> >
> > Ivan
> >
>