1 Reply Latest reply on Oct 10, 2003 11:37 AM by 82532

    multithreading OCI with 7.3

    405994
      Hi!

      I am working with OCI on connecting with 7.3 . The problem I am facing is with a VC++ MFC App. when I create and open database connection in the main thread then its works of. But if I move the same code to seperate worker or UI thread then the database open function call fails.


      Please can some one help me.

      Thanks in Advance.

      Aditya
        • 1. Re: multithreading OCI with 7.3
          82532
          You might to try this post in the OCI forum.

          There was a problem at one point in the 7.x lifecycle where the OCI DLL could not be initialized (loaded) outside the main thread. The solution was to load the DLL in the main thread and then call out to it in the worker threads. This problem was later resolved, but I don't know if the fix occurred in the 7.x code line or not.