I just got a weird problem when I try to access oracle database by OCCI in my program:
Everything runs well in my computer;
Environment::createEnvironment returns NULL in another computer;
Attached is my test code, which runs well in my computer. when I try to debug remotely in another computer, i found that Environment::createEnvironment(); returns NULL and throws an exception. but there is no message in the SQLException.
I really appreciate your help.
using namespace oracle::occi;
using namespace std;