Subject Re: Event progamming, application do not stop
Author tailuo2002
--- In firebird-support@yahoogroups.com, "Dimitry Sibiryakov" <SD@...>
wrote:
>
> On 3 Jun 2006 at 11:11, tailuo2002 wrote:
>
> >
> > char *event_buffer, *result_buffer;
> > long blength;
> > ISC_STATUS status_vector[20];
> >
> > my_connect_db();
> > my_start_tran();
> >
> > blength = isc_event_block(&event_buffer, &result_buffer,1, "abc");
> >
> > isc_wait_for_event(status_vector,&SMSDB,(short)blength,event_buffer,
> >result_buffer);
> >
> > printf("Event coming here.\n");
>
> And? This is exactly what I told earlier: first call of
> isc_wait_for_event() will immediatelly return you current value(s) of
> counter(s). Next call of isc_wait_for_event() will actually wait for
> event to happen.
>
> --
> SY, Dimitry Sibiryakov.
>


I tried calling isc_wait_for_event twice, but it didn't help. I have
removed FB 1.5.2 and installed FB 1.5.3, no changes happened.