Subject | Re: [IBO] How to auto reconnect after server crash |
---|---|
Author | Gerald Morris |
Post date | 2003-03-08T15:32:42Z |
Thank you
Gerald
""Jason Wharton"" <jwharton@...> wrote in message
news:011f01c2e4e8$7a088700$dc756a41@CX170673E...
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 inthen
> the middle of some data processing. Set a flag, raise an exception and
> in your exception handling after the data request has unwound thecallstack
> 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 orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>