Hello
I'm using a TOracleEvent connected to a dbms_alert. This runs fine and I get Timeouts and Alerts popped into my application - BUT - Every time my application attempts to stop the event on shutting down everything hangs Event.Stop is the last call processed. Performance monitor shows no further CPU activity on any of the threads of the application.
The code I'm using the create the event is
FEvent := TOracleEvent.Create(Nil);
FEvent.Timeout := 1;
FEvent.ObjectNames := FTable.Triggers0].Alert;
FEvent.Session := FHandler.Session;
FEvent.ObjectType := otAlert;
FEvent.OnTimeOut := DoOnTimeout;
FEvent.OnEvent := DoOnEvent;
FEvent.Synchronized := True;
and then just
FEvent.Start
and
FEvent.Stop
as needed.
Anyone got any thoughts?
I'm using a TOracleEvent connected to a dbms_alert. This runs fine and I get Timeouts and Alerts popped into my application - BUT - Every time my application attempts to stop the event on shutting down everything hangs Event.Stop is the last call processed. Performance monitor shows no further CPU activity on any of the threads of the application.
The code I'm using the create the event is
FEvent := TOracleEvent.Create(Nil);
FEvent.Timeout := 1;
FEvent.ObjectNames := FTable.Triggers0].Alert;
FEvent.Session := FHandler.Session;
FEvent.ObjectType := otAlert;
FEvent.OnTimeOut := DoOnTimeout;
FEvent.OnEvent := DoOnEvent;
FEvent.Synchronized := True;
and then just
FEvent.Start
and
FEvent.Stop
as needed.
Anyone got any thoughts?