This error is most-likely caused by a missing / incompatible dependency library. In my case, I had accidentally changed the Runtime Library of my visual studio project to /MD instead of the static link /MT.

The Runtime Library can be set in Visual Studio at the Configuration Properties > C/C++ > Code Generation page.

Here is an article at MSDN explaining the different settings: http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx

Hope this saves some people time.