Hi,
I had the same error few months ago and the following settings in my VS project solved that:
On linker input settings menu switch "Ignore All Default Libraries" to yes,
and "Additional Dependencies" should be "msvcrtd.lib;msvcprtd.lib;%(AdditionalDependencies)" on debug and "msvcrt.lib;msvcprt.lib;%(AdditionalDependencies)" on release configuration.
Check also your preprocessor definitions too.
Debug preprocessor definitions:
_ITERATOR_DEBUG_LEVEL=0;WIN32;_DEBUG;_WINDOWS;_USRDLL;_STLP_DONT_FORCE_MSVC_LIB_NAME;%(PreprocessorDefinitions)
Release preprocessor definitions:
WIN32;NDEBUG;_WINDOWS;_USRDLL;_STLP_DONT_FORCE_MSVC_LIB_NAME;%(PreprocessorDefinitions)
Hope this helps you too!
Regards,
Tibor