Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
how can i connect my VC++6 MFC application to sql server? i simply need to know how do i make connection to VC++6 to sql server
Use this #define CONNECT_STRING _T("DSN=mmmmmmm;UID=sssssss; PWD=gggggg") m_pDBConn = new CDatabase(); BOOL w_bIsOpen = FALSE; if(m_pDBConn) { try { //opens a connection to the data source w_bIsOpen = m_pDBConn->OpenEx(CONNECT_STRING); }