总结:
也许乍一看,这是一个常见问题,但就我而言,我不会伸手去寻找答案。
我下载了一个示例 hooking program from codeproject ,它有三个项目,其中两个是dll,一个是使用这两个dll来执行其主要目标的主项目。但是当我想编译它时,名为 KeyBoardHookLib
的项目导致错误:
error C1083: Cannot open source file: '=0x0401': No such file or directory
问题:
这是一个常见问题,我做了所有可用的解决方案,但问题仍然存在。请任何人看看这个项目并给我一个编译它的答案。
最佳答案
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.
关于c++ - VC++ 错误 : error C1083: Cannot open source file: '=0x0401' : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20246876/