Monitoring DLL

recomp

Member
Hi,

I created a simple application and a simple DLL to test session sharing. It works correctly but if I put OracleMonitor in DLL the host application will not terminate. If I comment OracleMonitor the application will teminate without any problems. I use Delphi6 Enterprise and DOA 4.0.3.0 and OracleMonitor 2.0.0.103 Lite.

Would you mind telling me what the reason may be?
 
Hi Marco,

I just used the TOracleSession.Share() method.
See the following code snippet from the DLL:

procedure ShareSession(pHostSession: TOracleSession);
begin
...
pHostSession.Share( here is the session object of the DLL );
...
end;
 
Back
Top