DLL and TOracleEvent

ErasmusMC

Member
I'm trying to make an DLL which has to wait for an alert from the database. When I use TOracleEvent in an application all goes well. But in the DLL there is no timeout event neither does the event is catched by the component.

The oraclesession is shared, according to the documentation about Dynamic Link Libraries (Initsession routine).
 
Is TOracleEvent.Synchronized set to True? In that case the events are synchronized with the main thread of the application, and to be honest I'm not sure how this works within a DLL.
 
Back
Top