Subject | RE: [IBO] Events not firing in IBO |
---|---|
Author | IBO Support List |
Post date | 2014-05-20T11:19:34Z |
What happens if you include the IB_VCL unit in your uses
clause?
If you do not include the IB_VCL functionality, which gives
you a TTimer to poll for an event notification, then you need to make use of a
OnWakeUp event so that you can process it asynchronously in a proper manner. I
use a TTimer so that when the event notification is fired it is with the main
thread in order to avoid problems.
If you tell me more about how you want your events to work in
your application I can make a recommendation to you.
Note, just using the stock IBEventAlerter component's
OnEventAlert event could cause multi-threading issues in your
app.
Regards,
Jason Wharton
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Monday, May 19, 2014 3:17 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Events not firing in IBO