lnk1169 (multiply defined symbols)
lnk2001 (unresolved external)


LNK1169 (multiply defined symbols)

Instructing the linker to link our custom library (which contains overrides for memory management) with #pragma comment(lib, "xxx.lib") we'll end up with a linker warning:

1>xxx.lib(memory.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR100.dll)
1>fatal error LNK1169: one or more multiply defined symbols found 

The solution is to make sure xxx.lib is linked FIRST, i.e. before the system libraries ( %(AdditionalDependencies). 
Remove the #pragma comment line and add the "xxx.lib" to the project-properties/linker/input/additional dependencies 

linker LNK2001 (unresolved external) 

Linker Errors, due to missing "system" libraries 

Open project-properties / linker / input and click the "Additional Dependencies"-arrow-down, edit,
make sure "inherit from parent ... " is selected"..." for and click "ok" to add it to the system libraries... 

... looking like this:


JSN Teki template designed by JoomlaShine.com