Is there an example somewhere of passing a TOraSession to a DLL? I have a main program and I would like to share my Oracle Session with a bunch of DLL modules.
Thanx,
Raj Mathur
You can download a Delphi example here . It demonstrates various ways to share a session.
The recommended way to share a database session between a host application and one or more DLL's is to use the TOracleSession.Share procedure. The ShareMem unit is not required, and you can comfortably use TOracleSession instances created on a data module or form at design time.
------------------
Marco Kalter
Allround Automations