Its still not linking for me.
I changed the project settings /C++ / Code Generation / Runtime Library to Multi-threaded Debug
However, I'm not too sure what you meant by
Quote: "Removed the libraries in Project Settings / Linker / Input / Additional Dependencies"
as I had no additional dependencies apart from the ones inherited by the project itself. I stuck the compiler flag $(NOINHERIT) in the additional dependencies so there were no libraries inherited and these were the errors
1>Compiling...
1>main.cpp
1>Compiling manifest to resources...
1>Linking...
1>LIBCMT.lib(invarg.obj) : error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __set_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __get_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: "void __cdecl _invoke_watson(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" (?_invoke_watson@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: "void __cdecl _invalid_parameter(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" (?_invalid_parameter@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj)
1>LIBCMT.lib(invarg.obj) : error LNK2005: ___pInvalidArgHandler already defined in LIBCMTD.lib(invarg.obj)
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>C:\My Documents\Test1\Test\Debug\Test.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Test - 9 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
also these are the same errors if I just leave the additional dependencies empty and without the compiler flag $(NOINHERIT).
I was thinking that since you got my project to work could you send my working project back to me (just attach it to your post), to see if it works for me.