March 30th, 2001, 05:23 AM
Urgent: Parameters of the Open-method
I work with Visual C++ 6.0 and an Oracle8 database. And want access to this database via ADO.
Now I have this code in C++:
But I don't know, how I must write the parameters of the Open-method.
Please help me.
March 30th, 2001, 06:51 AM
Re: Urgent: Parameters of the Open-method
We are using something like this:
sCn.Format("Provider=%s;Data Source=%s;User ID=%s;Password=%s",
"OraOLEDB.Oracle", "Oracle8ServiceName", "username", "password");
pConnect->Open((LPCTSTR)sCn, "", "", adOpenUnspecified /* -1 */);
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!