Subject Re: [IBO] Problem reconnecting to the database
Author Geoff Worboys
> I've tried stepping through the source code and I've found
> that an AccessViolation is raised in the
> SysUpdateCharacteristics function when calling Disconnect or
> ForceDisconnect.
> The exception is caught by the Disconnect function but
> causes the API_Disconnect call to be bypassed.

> Anyone know what could be wrong?

Do you have any code attached to the BeforeDisconnect event?

I am trying to work out where SysUpdateCharacteristics is
being called - since it does not seem to be part of the normal
disconnect processing. If you dont have code in the
BeforeDisconnect event, can you give the callstack that results
in the call to SysUpdateCharacteristics.

--
Geoff Worboys
Telesis Computing