Subject | Re: [IBO] Disconnect Troubles |
---|---|
Author | Jason Wharton |
Post date | 2001-06-14T21:46:13Z |
Events have always been tricky!
Not sure exactly what to do here.
I'll have to dig into this upon my return from London.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
Not sure exactly what to do here.
I'll have to dig into this upon my return from London.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Paul Irwin" <paul@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, June 14, 2001 2:33 PM
Subject: [IBO] Disconnect Troubles
> The saga continues...
>
> The new problem pertains to the TIB_Events component. I connect to the
> database, register some events (3), unplug my network cable, then try to
do
> something like executing a stored procedure. This causes an error that I
> trap, then I rollback all transactions and close the connection to the
> database. This all works. Now if I terminate my application
> (Application->Terminate) it processes fine and then I get an access
> violation after all my code has been executed. If I do the same scenario
> except I do not register any events I do not get any av's. I've tried
> explicitly unregistering the events before I do the disconnect but it
> doesn't seem to make a difference.
>
> Does anyone have a suggestion of how to fix this, or should I just avoid
> using the events?
>
> Thanks,
>
> Paul