VS2008 ERROR

来源:互联网 发布:软件反跟踪技术 编辑:程序博客网 时间:2024/06/02 14:47

[2008/2/14]

在从vc6,vc7到vc8,VC9的转化过程中,如若遇到一个

fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409错误.
我的解决方案是: Project configuration properties -> Manifest Tool -> Input and Output -> Embed Manifest and setting it to "no."
可能的原因VS8:/VS9 has a different way to handle manifests. I would recommend to use the manifest tool and not your own solution.
The problem isthat the new compiler allows that source code emits manifest code (for the CRT, MFC etc.). This manifest code is collected and finally added to the module. You loose this feature. You have to add all this manifests manually.
Look into the conversion log, I am sure that there is a warning entry about this.
==================================================================
[2008/2/15]
在测试程序过程(System:Window xp sp2......IDE:VS2008)中遇到以下ERROR:
unresolved external symbol _main referenced in function ___tmainCRTStartup
 我的解决方案是:

 Project configuration properties -> Linker-> System -> SubSystem->from Console to Windows

原创粉丝点击