c++ - VC++ 错误 : error C1083: Cannot open source file: '=0x0401' : No such file or directory

标签 c++ visual-c++ compiler-errors

总结:

也许乍一看,这是一个常见问题,但就我而言,我不会伸手去寻找答案。

我下载了一个示例 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/

相关文章:

c++ - std::unordered_map - Inserting elements is “attempting to reference a deleted function”

android - 错误:Execution failed for task ':app:transformClassesWithJarMergingForDebug' . while running the application [duplicate]

c++ - 是我还是Boost Track SVN(Boost Geometry Extension Dissolve)的一部分无法编译?

c++ - 使用 boost::regex 更改文件中数据的格式

c++ - 如何用元素位数之和替换vector中的所有元素?

c++ - 从 BYTE 数组中读取 32 位整数。 VC++

c++ - 编译器是否将普通的 getter 方法优化为简单的字段访问?

c++ - Visual Studio 2008 C++ 语言支持?

c++ - 如何在linux上安装c++库

c++ - 表达式 : Invalid Operator < - Can't find the error