Passing OCI session to/from native dll

Passing OCI session to/from native dll

Postby bbrandt » Tue 12 Sep 2006 12:26

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?
Posts: 1
Joined: Tue 12 Sep 2006 12:16

Postby Alexey » Mon 18 Sep 2006 14:58

There is no such functionality in OraDirect, it's not possible to create OracleConnection based on handles from OCI.
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Return to dotConnect for Oracle