3 Replies Latest reply on Sep 25, 2013 2:05 PM by Kmohan-Oracle

    Oracle 12c - Visual Studio 2012 Express - createEnvironnment failure




      I am using Oracle 12c and VS 2012 Express. I tried this simple code but it fails:


      #include <stdio.h>

      #include <iostream>

      #include <occi.h>


      using namespace oracle::occi;

      using namespace std;


      int main( int argc, const char* argv[] )



      //create environment and connection


      Environment* env = Environment::createEnvironment();


      Connection* conn = env->createConnection( "xxx", "xxx", "localhost" );


      std::cout << "Environment and Connection created" << std::endl;





      The createEnvironment method fails and createConnection raises an exception.


      Does anyone experience the same problem ?