954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

about VC+MySQL problem:)

about VC+MySQL problem:)
i install mysql odbc V5.0 driver
i need to ADO Connect MYSQL DB;
code:
_ConnectionPtr m_CMConnect;
::CoInitialize(NULL);
m_CMConnect.CreateInstance(__uuidof(Connection));
m_CMConnect->Open("Provider=MySQL;server=localhost;DataBase=test;port=3306;uid=root;pwd=","","",-1);

but Program run error.....
how to Ado Connect MYSQL DB;
thank:)

rxgmoral
Newbie Poster
14 posts since Jul 2006
Reputation Points: 21
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You