Hi Marco, any news ?
It seems that error is due to session reconnection:
1- OracleSession.Connected := true;
2- loading DLL and pass OracleSession in parameter in order to share the session between my application and my dll
3- close OracleSession in my application: OracleSession.Connected := false; my DLL is always load in memory
4- reconnection: OracleSession.Connected := true; => error appears
In my DLL I have a datamodule wich contains TOracleQuery and TOracleDataSet and when I load the DLL, I link TOracleQuery/TOracleDataSet with my OracleSession application.
When I delete this link, error will not always appear.
How can I share TOracleSession with an application and a DLL ?
Last edited by Zugg; 09/01/11 07:37 AM.