fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0×0409

从vc6和vc7的工程迁移到vc8上的时候,遇到了这么个错误:
CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0×0409
紧接着就是
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
搜了一下,有人说可以用这样的方法解决:
         “将linker里的manifest File的generate manifest选项设置为no即可,也不用去修改manifest文件了”
但是对我好像不太适用,因为问题还在,所以干脆来点直接的,这样解决了:
在resource.rc文件中,注释掉这一行就好了:
        // 1                       RT_MANIFEST             "****.exe.manifest"
 
This entry was posted in Uncategorized. Bookmark the permalink.

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Connecting to %s