Subject Re: [IBO] How to auto reconnect after server crash
Author Gerald Morris
Thank you

Gerald

""Jason Wharton"" <jwharton@...> wrote in message
news:011f01c2e4e8$7a088700$dc756a41@CX170673E...
> Don't close or force disconnection in the OnError event. This is right in
> the middle of some data processing. Set a flag, raise an exception and
then
> in your exception handling after the data request has unwound the
callstack
> then force the connection closed or whatever.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> -- We may not have it all together --
> -- But together we have it all --
>
>
> ----- Original Message -----
> From: "Helen Borrie" <helebor@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Thursday, March 06, 2003 5:20 AM
> Subject: Re: [IBO] How to auto reconnect after server crash
>
>
> > At 06:59 AM 5/03/2003 -0800, you wrote:
> > >How do you reconnect an IBConnection that was connected when the IB
> Server
> > >has been shut down and restarted?
> > >The On Error event is triggered. But trying to close or open the
> > >IBConnection does not work.
> > >Any suggestions appreciated.
> >
> > Have you tried ForceDisconnect?
> >
> > Helen
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>