Why OCIEnvCreate function return -1 [message #392042] |
Mon, 16 March 2009 02:54 |
clever101
Messages: 1 Registered: March 2009
|
Junior Member |
|
|
Hello,everyone. Now I use VS C++ 2005 (with sp1)and OCI that in ORACLE 10g to develop a application.
calling OCIEnvCreate failed when connect the Database. The return value is -1. My Pataner saied, I cannot use OCIErrorGet() to get the error informaintion,becase The Environment isnot initialed.
But I can connect Database by using ORACLE 10g Client in my mathine(Input the same username and password).
Why OCIEnvCreate function return -1?
|
|
|