Q:

VC++ Error: error C1083: Cannot open source file: '=0x0401': No such file or directory

Summary:
Maybe at a glance, it is a common question, but in my case, I don't reach for an answer.
I downloaded a sample hooking program from codeproject, it has three projects, two of them are dll, and one is the main project that use this two dll to perform its primary goal. But when I want to compile it, a project named: KeyBoardHookLib cause an error:
error C1083: Cannot open source file: '=0x0401': No such file or directory

Question:
It is a common question, I do all available solution, but the problem remains.  Could please anyone takes a look at this project and give me an answer to compile it.

A:

From the comments of codeproject : 

After your converting to VS2010 solution, precompiled header should be changed from /Yu to /Yc in all 3 projects. Delete '=0x0401' in KeyBoardHookLib.vcxproj.

