Passing DOASessions thru to ActiveX

Sherlock

Member²
Hi,

I'm writing an application which is using several ActiveX plugins. Every plugin needs DB-Access. So far every plugin uses its own DoaSession. Now I would like to use the session of my main application an pass it on to the ActiveX plugins. What is the procedure to do so?

Thanks,
Sherlock
 
To share a session, you can pass the TOracleSession.ExternalSVC pointer from one session to another. This way you can connect one main session, and pass the connection to other sessions. Note that the main session must be the first session to log on, and the last session to log off.
 
Back
Top