Print Thread
Access Violation Error Message
#641 06/22/00 07:19 PM
Joined: Jun 2000
Posts: 13
B
bchau Offline OP
Member
OP Offline
Member
B
Joined: Jun 2000
Posts: 13
Hi,

I have a host-program(executable) connect to Oracle database calling a Dll and sharing the same OracleSession.ExternalLDA. Everything work fine, I close the Dll, everything is still Ok, but when I close the host-program, I always get the 'Access Violation' or 'Priveledge Instruction'.
Can someone tell me why, and how to solve it?

Re: Access Violation Error Message
#642 06/27/00 05:46 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
You must make sure that the TOracleSession instance in the DLL is disconnected before the host application disconnects the shared session. Otherwise terrible things can happen. Could this be the case?

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

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.024s Queries: 12 (0.009s) Memory: 2.4983 MB (Peak: 3.0431 MB) Data Comp: Off Server Time: 2024-05-20 10:52:37 UTC
Valid HTML 5 and Valid CSS