node-oracle icon indicating copy to clipboard operation
node-oracle copied to clipboard

Crash on windows

Open Oleg2tor opened this issue 12 years ago • 1 comments

I compile it, but it crash on:

OracleClient::OracleClient() {
  m_environment = oracle::occi::Environment::createEnvironment(oracle::occi::Environment::THREADED_UNMUTEXED);
}

without any errors.

Even I try to modify it to:

 OracleClient::OracleClient() {
   try {
     m_environment = oracle::occi::Environment::createEnvironment(oracle::occi::Environment::THREADED_UNMUTEXED);
   } catch(oracle::occi::SQLException &ex) {
     std::cout << new std::string(ex.getMessage());
   }
 }

I get address, not string message.

Oleg2tor avatar Jul 29 '13 14:07 Oleg2tor

Note the third comment on this problem: https://github.com/nearinfinity/node-oracle/issues/2 - I'm not sure how to fix it (I'm having the same problem), but I think this is what is going on.

SyntaxRules avatar Jul 31 '13 22:07 SyntaxRules