Subject | IB_Event question |
---|---|
Author | freeadmin |
Post date | 2002-10-20T23:34:07Z |
Hi,
I use the OnEventAlert event of TIB_Events component
to refresh my tables. This is the default TTimer based mechanism.
I read in the help, that a WaitForSingleObject function can be used
instead of the TTimer mechanism (with the call of CheckEvents method
and OnWakeUp event), but I do not know how it works in practice.
Please give me a short example.
Can you tell me why is this method better (than the other one)?
Regards
FreeAdmin
I use the OnEventAlert event of TIB_Events component
to refresh my tables. This is the default TTimer based mechanism.
I read in the help, that a WaitForSingleObject function can be used
instead of the TTimer mechanism (with the call of CheckEvents method
and OnWakeUp event), but I do not know how it works in practice.
Please give me a short example.
Can you tell me why is this method better (than the other one)?
Regards
FreeAdmin