====== Instruct linker to ignore a library (programatically) ====== Add this in .h file: #pragma comment(linker, "-nodefaultlib:libmmt.lib")