944,089 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1216
  • C RSS
Nov 19th, 2006
0

about VC+MySQL problem:)

Expand Post »
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
Similar Threads
Reputation Points: 21
Solved Threads: 0
Newbie Poster
rxgmoral is offline Offline
14 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: selection sorting issues
Next Thread in C Forum Timeline: Function doesnt work





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC