Connect C++ application to SQLServer
-
How can I connect a (unmanaged) C++ Win32 application to SQL Server? This must preferably be a console application - no MFC or ATL. Is this possible?
-
How can I connect a (unmanaged) C++ Win32 application to SQL Server? This must preferably be a console application - no MFC or ATL. Is this possible?
Sure. You can use either ODBC or OLEDB for that purpose. I would recommend looking into the SOCI Library[^]
-
How can I connect a (unmanaged) C++ Win32 application to SQL Server? This must preferably be a console application - no MFC or ATL. Is this possible?
With ODBC. There are [many examples](http://www.codeproject.com/KB/database/#Database - ODBC) here at CodeProject. Cheers.
Stupidity is an International Association - Enrique Jardiel Poncela Die deutsche Sprache sollte sanft und ehrfurchtsvoll zu den toten Sprachen abgelegt werden, denn nur die Toten haben die Zeit, diese Sprache zu lernen. - Mark Twain
-
How can I connect a (unmanaged) C++ Win32 application to SQL Server? This must preferably be a console application - no MFC or ATL. Is this possible?