Subject Re: Exiting gracefully from lost connection error (335544721)
Author almfgingras
Hi Clay,

Thank you for your suggestion.

There are 2 reasons why I use 'Application.Terminate' in this
case...

1. I don't know how I would reconnect and continue with the current
transaction, which may contain many pending changes. If anyone has
sample code that demonstrates how to do this, it would be greatly
appreciated.

2. Sometimes reconnecting is not possible without rebooting the
computer that lost its connection.

Thank you,
----
Philippe Gingras

--- In firebird-support@yahoogroups.com, "Clay Shannon"
<cshannon@d...> wrote:
>
> Application.Terminate;>>
>
> Is your Application.Terminate the culprit? Why not try to
reestablish a
> connection rather than terminating?
>
> Clay Shannon,
> Dimension 4 Software
>