Subject Re: [IBO] How to disable processing IBO's background tasks?
Author Jason Wharton
Yes, you can use a session object and set the TimerInterval property to 0.

Either use a TIB_SessionProps to gain access to the default session property
values or make sure you are using a TIB_Session in such a way that your
entire app is using it instead of the default session.

Regards,
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: "mircostange" <mirco@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, October 24, 2002 6:49 AM
Subject: [IBO] How to disable processing IBO's background tasks?


> Hi Everyone,
>
> my application uses IBO to access the FB database and also
> Crystal Reports to provide printing.
> It seems that IBO's background tasks can block the
> application when CR is currently active printing.
>
> Running the debugger, IBO is locked in a routine
> called "ProcessPassiveTasks" which seems to be called
> on a WM_TIMER message periodically. Its attempt to
> perform an isc_commit locks the application.
>
> Is there a way to tell IBO not to perform this background
> idle processing for a while?
>
> Hoping for help...