余罪读后感1000:使用Visual C++ 2005时不能登陆Runtime Library

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 14:03:45
在使用Visual C++ 2005 Express版时,不知怎么,在编译(Compile)和连接(Link)都成功了之后,在运行(Run)时总是会出现如下对话框:

Debug Error!

Program: ...

R6034

An applciation has made an attempt to load the C runtime library without using a manifest. This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest.
For more information, see the "Visual C++ Libraries as Shared Side-by-Side Assemblies" topic in the product documentation.

(Press Retry to debug the application.)

同一个程序,有时候可以正常运行,有时候会弹出如上的对话框;而且同样的程序,到其他的编译环境中(如Visual C++ 6.0, Borland C++)都可以运行。不知道如何解决,请高手指教。

感谢!

这是VS2005本身的原因,说来话长,与DLL-->.NET的成长有关,你可以看看有关清单(manifest)方面的东西。
相信你在编译或链接时肯定有不少warning