node-oracle
node-oracle copied to clipboard
Crash on windows
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.
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.