Subject Re: [IBO] TIB_Event Alerter Problem and Application Exit
Author Luiz Alves
This was a known error with IB 5.5 and 5.6. If you use one that change your
gds32.dll to 5.1.

With IB 6.0, there is no problem noted untill now.

Luiz.

----- Original Message -----
From: Chris Hulsey <chulsey@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, February 27, 2001 5:06 PM
Subject: [IBO] TIB_Event Alerter Problem and Application Exit


> Hello,
>
> I am experiencing a strange problem with the TIB_Event control for
Interbase. I'm building an application using Borland C++ Builder 5.0 and
IBO components to access an IB Server 6.0. I'm using an Event Alerter to be
aware of the modifications made by other users, so that I can refresh a view
screen that outputs data on a grid. My application actually register's the
TIB_Event control successfully and the OnEventAlert executes correctly when
the event is posted on the server using POST_EVENT "eventname" from within a
TRIGGER or STORED PROCEDURE. But whenever I close my application I get an
error:
>
> I am connecting with a TIB_Database control to a remote server via TCPIP
and the TIB_Event control points to this connection via the IB_Connection
property.
>
> "Fault with Message Access Violation at address XXXXX read of address
XXXXX process stopped."
>
> My Code is Simple:
>
> TIB_Database *IBDatabase;
> TIB_Events *IBEvent;
> TPanel * Panel_Event;
>
> void __fastcall TForm1::IBEventEventAlert(TObject *Sender,
> AnsiString AEventName, int AEventCount)
> {
> Panel_Event->Caption = "Event Fired: " + AEventName;
> }
>
> void __fastcall TForm1::Button1Click(TObject *Sender)
> {
> IBEvent->RegisterEvents();
> Panel_Event->Caption = "Registered";
> }
>
> void __fastcall TForm1::Button2Click(TObject *Sender)
> {
> IBEvent->UnregisterEvents();
> Panel_Event->Caption = "Unregistered";
> }
>
>
> Any help would be greatly appreciated.
>
> Chris Hulsey
> chulsey@...
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>