I know, there is two way to use OCCI.one is using instant client,another is using oracle database/client;(*actually,i'm not sure that is right)*
I install oracle client(10.2.0.1) completely in my computer.
I make a simple program to test, when i build the program with Debug builder,i got a error:ORA-24960: the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255. But when i build the program with Release builder,it works.
so,is there anyone can help me solve this problem?
I suspect that you will need to install Oracle 11.2 or 11.1 instant client to get it working with Visual Studio 2008. I cant find the Oracle web page that confirms this though. Note that the 11g client is fully supported for connecting to Oracle 10g databases. Here we use OCCI the 11.2 instant client with VS2008
See this thread for people who had similar problems in earlier times Re: Fail when invoking Environment::createEnvironment(..) in Visual Studio
This page you might also find handy