VS2003项目到VS2005的迁移 [英] Migration of VS2003 Project to VS2005

查看:78
本文介绍了VS2003项目到VS2005的迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天您好,我将VS2003项目转换为VS2005.编译成功,我得到了所有的dll和应用程序.但是,当我运行该应用程序时,出现错误"MSVCR80.dll".我认为这不应该发生.之后,我手动复制了所有
应用程序文件夹中的CRT dll,例如msvcr80.dll,msvcp80.dll,msvcm80.dll,该应用程序被RUN TIME ERROR R6034终止.是否缺少任何配置.有人可以向我解释问题出在哪里吗?

Hi today i converted a VS2003 Project to VS2005.The compilation is succesfull and i got all my dlls and application.But when i run the application it is giving error "MSVCR80.dll" is missing.I think this should not come.After that i manually copied all
the CRT dlls like msvcr80.dll, msvcp80.dll, msvcm80.dll in the application folder,the application was aboreted with the RUN TIME ERROR R6034. Is there any configuration is missing.can anybody explain me where was the problem?

推荐答案

在某个时候,Microsoft开始要求MFC dll的清单.因此,即使您将它们放在同一目录中,也可能仍需要具有Microsoft.VC90.MFC.manifest(或类似文件)文件.我不记得在什么时候实施了此更改,但是您可以通过查找一个将被标记为Microsoft.VC90.MFC(或类似名称,根据您的MFC版本而定)的目录来进行测试,并将其放置在在您的应用程序根目录上.

需要注意的是... VC90是用于VS2008的.
At some point there, Microsoft started requiring manifests for MFC dlls. So even if you have them in the same directory, you may still need to have a Microsoft.VC90.MFC.manifest (or something similar) file. I don''t remember at what point this change was implemented but you can test it out by looking for a directory that''ll be labeled Microsoft.VC90.MFC (or something similar, according to your version of MFC) and placing that on your applications root directory.

As a note... VC90 is for VS2008...


VS2005弃用了许多旧的C运行时函数,并用安全"版本代替了它们.如果您不使用它们中的任何一个,那么您就是黄金.如果使用它们,修正警告应该是小菜一碟. VS2005编译器还捕获了一些早期版本没有的错误.这些也应该很容易修复.

简短的答案是安装新的IDE,并对项目进行清理/构建,然后看看会发生什么.这是最快的转换方式,尤其是在您熟悉代码库的情况下.
VS2005 deprecated a lot of the old C runtime functions and replaced them with "secure" versions. If you''re not using any of them, you''re gold. If you are using them, fixing the warnings should be a piece of cake. The VS2005 compiler also catches some errors that the earlier ones didn''t. Those should be simple to fix as well.

The short answer is to install the new IDE, and do a clean/build-all on your project, and see what shakes out. That''s the fastest way to convert, especially if you''re familiar with the code base.


您需要通过运行时安装程序安装dll.正在重新访问"DLL Hell"
you need to install the dlls via a runtime setup. It is revisiting "DLL Hell"


这篇关于VS2003项目到VS2005的迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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