Subject RE: [firebird-support] Re: Exiting gracefully from lost connection error (335544721)
Author Simon Carter
Philippe,

> -----Original Message-----
> I tried to explicitely free the database and transaction
> components in various orders without success (i.e. I get some
> access violations each time).
>
> For the time being, I think I will stick with Terry's
> suggestion to use ExitProcess(0) instead of
> Application.Terminate, which seems to very well address the
> problem to a certain degree.

Have you tried running your app using Debug DCUs, the stack trace might well
give you extra information which will help track down the AV, also instead
of using object.Free(); try FreeAndNil.

Hih

Si Carter
http://www.tectsoft.net/
http://www.fbtalk.net/