Did you ever see the error message “LNK1104: cannot open file ‘c:\Program.obj'”? No need to say that you are not that kind of a programmer who generates OBJ files in the root of disk C:… So, what’s up and how to fix that?
Either
use short 8.3 path in additional dependencies, or put the long path
into “Linker | General | Additional Library Directories” and simply the
name of the library without path into Additional Dependencies.
I
realize that getting such a message is a sort of shock (I’ve got it
today myself and still feel it :-)), here is the secret:
“C:\Program.obj” is the long path like “C:\Program Files\Microsoft
Platform SDK for Windows Server 2003 R2\Lib” cut after the first space
and appended with the default extension “.obj”.