DLL Share when Host session in DataModule

FisherCoB

Member
I've downloaded the dllDemo and found it moderately useful except that my exe OracleSession is in a dataModule. I read a post that said it was possible to do it this way, but I get an "Application Error", "...memory could not be read".

Can you provide an example?

Right now I open and map the DLL in the AfterLogOn event, and I've tried to free the session and the DLL in the DataModuleDestroy event.

Any help would be appreciated.

I use Delphi 5 pro, DOA 3.4.1, Oracle 8.1.7
 
When does this error occur? Note that you must disconnect or free the session inside the DLL before you disconnect the host session.

------------------
Marco Kalter
Allround Automations
 
I've traced the problem... it's got nothing to do with DOA. It's related to the Crystal Report Component...

Thanks for the reply and sorry to bother you.
 
Back
Top