Hi all. I have an app (VC 6.00) that works with an Access database and ADO, this app has worked fine, but it has problems only in one PC. My code is:
CoInitialize(NULL);
_ConnectionPtr con(__uuidof(Connection));
con->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=dbTest.mdb"); //Here is the problem!!!!!
//...
'con->Open()' shows the error: "Null Pointer"
It seems that '_ConnectionPtr con(__uuidof(Connection))' did not work fine.
This happens only in one PC.
How can I solve this problem? Where is ADO installers for download?
Thanks in advance.
William GS
CoInitialize(NULL);
_ConnectionPtr con(__uuidof(Connection));
con->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=dbTest.mdb"); //Here is the problem!!!!!
//...
'con->Open()' shows the error: "Null Pointer"
It seems that '_ConnectionPtr con(__uuidof(Connection))' did not work fine.
This happens only in one PC.
How can I solve this problem? Where is ADO installers for download?
Thanks in advance.
William GS