AV problem in DLL

snoopy

Member
Hello everybody,
we use DLL to process some DOA job from both DOA and non-DOA programs. We share a TOracleSession as a parameter of the DLL (by address, of course). This seems to be clean. Unfortunately we get AV if we try to commit the session immediately, and if we try to commit at DLL exit more than once (first time it runs, second time AV).
What do you think of that ?
 
Are you using the ShareMem as documented in the DLL template?

It may be better/easier to share the TOracleSession.ExternalSVC property.

------------------
Marco Kalter
Allround Automations
 
Back
Top