C ++项目编译错误? [英] C++ Project Compilation Error?

查看:75
本文介绍了C ++项目编译错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

i下载了这篇文章(我试图在我的应用程序中实现一个全局系统挂钩)但是当我尝试编译它时VS2010(我使用的是Visual Studio 2010 Premium)给了我一个错误(对于C ++它的一部分):



错误1错误LNK1123:转换为COFF期间失败:文件无效或损坏C:\Users\yourusernamehere\Downloads \ WilsonGlobalSystemHooks_src \ GlobalCbtHook \ LINK GlobalCbtHook



i知道文件没有损坏,因为我尝试了其他C ++ / C#项目,他们都给了我同样的错误到什么这个?

i已经看过这篇文章的评论了,没有人遇到同样的问题。

i我在Windows 7 64上使用Visual Studio 2010 Premium -Bit和我在RDP会议中运行

感谢您在advanc的帮助e,

MasterCodeon

hello everyone!
i downloaded the source code for this article(i am trying to implement a global system hook in my app) but when i try to compile it VS2010(I am using Visual Studio 2010 Premium) gives me an error(for the C++ part of it) of:

Error 1 error LNK1123: failure during conversion to COFF: file invalid or corrupt C:\Users\yourusernamehere\Downloads\WilsonGlobalSystemHooks_src\GlobalCbtHook\LINK GlobalCbtHook

i know the file isn't corrupt because i have tried other C++/C# projects and they all gave me the same error to whats up with this?
i have already look at the comments of the article and no one had the same problem i am having.
i am using Visual Studio 2010 Premium on windows 7 64-Bit and am running in an RDP session
thanks for your help in advance,
MasterCodeon

推荐答案

不要在快速答案下发布 - 如果您从文章中获得了代码,那么就有了该文章底部的新消息按钮,会将电子邮件发送给作者。然后他们会被告知你希望与他们交谈。

在这里发布这个依赖于他们匆匆而过并意识到这是为了他们。
Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.


这篇关于C ++项目编译错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆