Subject Re: [IBO] Problem with closing an App
Author Jason Wharton
Put on your debug hat and find the callstack of the exception as it relates
to an event reference either in the form or the app. You are somehow
referencing a nil object in code called in an event.

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: "stevefields37075" <fields24@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, November 07, 2002 1:39 PM
Subject: [IBO] Problem with closing an App


> Hi All,
> I have been having flaky problems from time to time
> with some unusual problems with IBO (4I). One of them
> is that once I have been in the SQL editor it will
> refuse to close even if the sql was never executed and
> still not even if the OK, Apply and even _X_ buttons
> are pressed.
>
> The other problem is that in some apps I will be unable
> to close them with a simple close. (This is with a TDatamod,
> a normal form and TIB_Conn, TIB_Query, etc.) If I put
> a break point on the last END; of the destroy procedure,
> in the TDatamod, it will close normally. If not I can
> interrupt the app with the Delphi pause button and the
> cpu window show a long string of zeros in the execution
> lines window (upper-left). Then I have to Ctrl-F2 the app
> to even get it to close. I close all querys, check and
> close all transactions and then close the TIB_Connection.
> Still no luck. And this is has no pattern from app to app.
> I step through the source in IBO but after the first break-
> point it close normally anyway. Am I hitting a logic bug
> somewhere? Any thoughts????? It does seem to be the IBO
> code as there is no other source code that is stepped
> through by the time of the TDatamod.
>
> (A sample app would be too long: 600 lines or more for
> the base form)
>
>
> Steve Fields