Home » Developer & Programmer » Precompilers, OCI & OCCI » Why OCIEnvCreate function return -1 (oracle10g,10.0.1,Windows XP sp2)
Why OCIEnvCreate function return -1 [message #392042] Mon, 16 March 2009 02:54
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?
Previous Topic: PCC-S-02346 - 11g (64 bit - RHEL 5.2) Client to 11g(32 bit - RHEL 5.2) Server
Next Topic: Debian & Pro*C
Goto Forum:

Current Time: Fri Oct 21 04:22:01 CDT 2016

Total time taken to generate the page: 0.29249 seconds