Subject Re: [IBO] Can't close Query when FB is down
Author Lester Caine
Guido Klapperich wrote:

> Here's a smaller and better readable version of the call stack

Call stack does not help in this situation. What I am not sure of is
exactly what you are trying to do.

If there is no connection, IBO can not run, unless it can open one, so
that is the first action once *IBO* knows that there is not a
connection. If the connection is lost while things are actually
happening, then the timeout will trip when there is no reply to a server
request from IBO, and an OnError event will be raised.

Within the OnError event there is a flag which you set to false to
prevent the higher level exception from being raised. I normally handle
the failures in the event, and have a 'switch' in the registry that
enables or disables the exception, so I can see thing on site or
silently ignore them.

I'm not explaining this very well, but hopefully you can see where it
may apply to your setup.

Lester Caine
L.S.Caine Electronic Services