Multiple Oracle Projects and one TOracleSession

  • Thread starter Thread starter
  • Start date Start date

Guest
Hi,

Please help me !

I have direct oracle access, object version

I want to write two delphi projects but use one TOracleSession. Second project will use TOracleSession that in first delphi project. How can I do it.

Note : First and Second projects are not Dll's.
 
Do you want to share a physical connection between 2 applications, or do you want to share a session definition (e.g. though a common data module)?

------------------
Marco Kalter
Allround Automations
 
Sharing a physical connection between 2 applications is not possible. They are different processes, and have an isolated memory space.

The only way to accomplish something like this is to use a 3-tier application. The 2 applications could share the session of a server application. The interface between the 2 application and the server application would not be the Direct Oracle Access components, but the standard delphi components like TRemoteDataModule and TClientDataSet. This requires Delphi Enterprise Edition.

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