VS2010 关于 CVT1100 和 LNK1123 的解决办法

错误提示:
Error 1 error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
Error 2 error LNK1123: failure during conversion to COFF: file invalid or corrupt
MSDN 解决办法
// 打开工程的属性对话框
1.Open the project's Property Pages dialog box
// 点开连接
2.Click the Linker folder.
// 点击嵌套IDL
3.Click the Embedded IDL property page.
// 修改 TypeLib 资源ID 取 2 - 65535任一值
4.Modify the TypeLib Resource ID property.
若此未解决
请按下列步骤来进行
Project(工程) -> Properties(属性) -> Manifest Tool(清单工具) -> Input and Output(输入及输出)-> Embed Manifest (嵌套清单) ->No
照此可解决问题

posted @ 2012-07-24 08:13  做一个内心安静的人  阅读(218)  评论(0编辑  收藏  举报