Subject | Re: [firebird-support] FB API VC.net |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2005-03-02T05:58:42Z |
On 1 Mar 2005 at 13:21, Cesar L. Meloni wrote:
isc_wait_for_event return immediatelly and fill event counters with
current values.
Just call it once again.
--
SY, Dimitry Sibiryakov.
>I write an aplication in VC.net, and need detect events withThis is well-known gotcha of events' design. First call of
>isc_wait_for_event() function. * I can attach database. * can start
>transaction. * can reserve buffers (event_block) * but
>isc_wait_for_event non stop until event is fired. its return
>immediately. and isc_event_count return "OK event was fired". *
>Obviously any connection fire any event...
isc_wait_for_event return immediatelly and fill event counters with
current values.
Just call it once again.
--
SY, Dimitry Sibiryakov.