Access Violation Error Message

bchau

Member²
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?
 
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
 
Back
Top