Page 1 of 1

Passing OCI session to/from native dll

Posted: Tue 12 Sep 2006 12:26
by bbrandt
Currently our C++ Builder developed application uses OCI to logon and then passes the session variable to Allround Automation's Direct Oracle Access component which we use for most of our database access. We are trying to get into some C#/.NET developent, possibly through the use of a dll or exe written in C# Builder 2006 (BDS2006).

Is there a way to pass the OCI session into your component to share a session, or to logon using OraDirect .NET and pass the internal OCI session variable to a native dll?

Posted: Mon 18 Sep 2006 14:58
by Alexey
There is no such functionality in OraDirect, it's not possible to create OracleConnection based on handles from OCI.