Subject RE: [IBO] Events not firing in IBO
Author IBO Support List
What I meant to say is if you react to the asynchronous notification that comes from the server directly then you can introduce a multi-threading issue because that is a foreign thread. Other less advanced event alerter components just give you direct asynchronous notification and leave you the job of making sure to handle it in a threadsafe manner. IBO makes things more threadsafe by default.
 
Does the background app function like a regular gui application or is it more like a service application with a worker thread?
 
You can set an OnWakeUp event that does get triggered by the asynchonous notification and it can do a wake-up on your background thread. Then, you can just poll the IB_Events component by calling CheckEvents from your background thread and it will process the events that way.
 
Hope this helps,
Jason Wharton
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Tuesday, May 20, 2014 8:07 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Events not firing in IBO

If I include IB_VCL it works as expected. 

The program that I am using this for is a background application to run reports for my end users and email them the report. So it waits for an event to fire then runs through the queue. I don't think there is a multi-threading issue. But I am open to your suggestions. Thanks!