Subject | RE: [firebird-support] Exiting gracefully from lost connection error (335544721) |
---|---|
Author | Clay Shannon |
Post date | 2005-10-12T19:25:51Z |
<<I am using FireBird 1.5 with Delphi 7 and InterbaseXpress components.
While running my application, some users who sometimes lose their
database connection due to poor network conditions. When that
happens, an EIBInterBaseError # 335544721 is raised in my
application, which is normal. Since the database connection is gone,
the program responds to this exception by terminating the
application. The problem is that in this condition, the program
always terminates with some other fatal exception that makes the OS
(Win XP) want to send an error report to Microsoft.
Application.Terminate;>>
Is your Application.Terminate the culprit? Why not try to reestablish a
connection rather than terminating?
Clay Shannon,
Dimension 4 Software
While running my application, some users who sometimes lose their
database connection due to poor network conditions. When that
happens, an EIBInterBaseError # 335544721 is raised in my
application, which is normal. Since the database connection is gone,
the program responds to this exception by terminating the
application. The problem is that in this condition, the program
always terminates with some other fatal exception that makes the OS
(Win XP) want to send an error report to Microsoft.
Application.Terminate;>>
Is your Application.Terminate the culprit? Why not try to reestablish a
connection rather than terminating?
Clay Shannon,
Dimension 4 Software