So, I have been poking around for guides and such on how to connect to MSSQL through ODBC to give me something new to practice. I have found two things: Microsoft has their own example of how it should be done and I also found this guide as well. Through the both I'be been managing to put together some code and some notes.
However, strangely enough when I go to compile and test my code there appears to be an upwards of 50 - 60 errors in the header files. This issue still occurs when using the source code directly from MS. However, when I load up their solution file, I get a message about upgrading the VC++ compiler and libraries. I do the update, and the code executes flawlessly. I get why upgrading the solution written in a older version is required, but why would using older code that has been adapted to the new version prevent the errors in the header files? Is there something fundamental I am missing here?
Edited by xXAlphaXx, 05 June 2014 - 02:06 PM.