Print Thread
Monitoring DLL
#6620 08/12/04 02:33 PM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
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?

Re: Monitoring DLL
#6621 08/12/04 04:45 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
How exactly did you share the session?


Marco Kalter
Allround Automations
Re: Monitoring DLL
#6622 08/12/04 04:55 PM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
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;


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.134s Queries: 13 (0.077s) Memory: 2.5024 MB (Peak: 3.0430 MB) Data Comp: Off Server Time: 2024-05-17 02:40:21 UTC
Valid HTML 5 and Valid CSS