Hi,

I write a programm in C++, whit which I want access to an oracle database, but I have a problem with the connection.

The part of the code is :

::CoInitialize(NULL);
_ConnectionPtr pConn;
pConn.CreateInstance(__uuidof(_Connection));

pConn->Open("Provider=MSDAORA;Data Source=u8", "User ID=test", "Password=test", -1);

But at the Open-statement the Programm stops with an error. Why ?

Please help me!

Sascha