ADO 2.5 Connections in Visual C++ 6
Posted on 2000-03-14
I've instaled ADO 2.5 in a Win 98 machine.
All works ok form VB and VBA, but i can't get it to work in Visual C++.
I'm using a _ConnectionPtr variable but create instance allways fails.
the follwing code allways fails
hr = mConn.CreateInstance ("ADODB.Connection");
mConn = NULL;
also i've tried to replace "ADODB.Connection" (wich should be ok, cos i can create the object using a simple CreateObject in VB) by