Subject | Using ib_events: unassigned application handle ?? |
---|---|
Author | John vdW |
Post date | 2015-05-21T10:07:15Z |
Hi Jason,
I have a Delphi XE5 datamodule that is used in different programs.
On this datamodule, there are a TIBODatabase and a TIB_Events.
All programs connect to the same database and use the same libraries
(fbclient.dll)
At runtime, the database is connected ,and in the OnAfterConnect
trigger, the TIB_Events is populated with the desired events and
subsequently Registered:
ib_events1.Events.Clear;
ib_events1.Events.Add('data_changed');
Ib_events1.RegisterEvents;
The RegisterEvents method throws an error:
"unassigned application handler"
It does not fire the OnError event.
(no documentian about this error found)
It works okay in all programs, except one. What could be the issue?
tia!
John
I have a Delphi XE5 datamodule that is used in different programs.
On this datamodule, there are a TIBODatabase and a TIB_Events.
All programs connect to the same database and use the same libraries
(fbclient.dll)
At runtime, the database is connected ,and in the OnAfterConnect
trigger, the TIB_Events is populated with the desired events and
subsequently Registered:
ib_events1.Events.Clear;
ib_events1.Events.Add('data_changed');
Ib_events1.RegisterEvents;
The RegisterEvents method throws an error:
"unassigned application handler"
It does not fire the OnError event.
(no documentian about this error found)
It works okay in all programs, except one. What could be the issue?
tia!
John