Accessing MySql using ODBC from MS Visual C++ 2005 Express Edition
I'm using the free Microsoft Visual C++ 2005 Express Edition and would like to use ODBC to access data from MySql. I tried using some sample code I found online but am having trouble building the application. I'm new to MS Visual C++ environment so I'm not sure I've included all the necessary header files, etc... The following code results in the following error.
.\SQLSample.cpp(5) : error C2001: newline in constant
C:\Program Files\Microsoft Visual Studio 8\VC\include\comdef.h(24) : fatal error C1083: Cannot open include file: 'ole2.h': No such file or directory