在具有VC 9.0的PC上在VC8.0上运行MFC构建时遇到问题 [英] Having a problem in running an MFC build on VC8.0 on a PC with VC 9.0

查看:105
本文介绍了在具有VC 9.0的PC上在VC8.0上运行MFC构建时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用VS2005(Windows XP)在发布模式下构建了MFC应用程序,但是当我在具有VS2008的PC(Windows 7)上运行该exe时,它无法运行.出现此错误:

I have built an MFC application in Release mode using VS2005 (Windows XP) but when I run this exe on a PC (Windows 7) with VS2008, it doesn''t run. It gives this error:

The application has failed to start because its side-by-side 
configuration is incorrect. Please see the application event log 
or use the command-line sxstrace.exe tool for more detail.



可能是什么原因?

另外,在没有安装某些版本的Visual Studio的装有XP/Windows 7的PC上运行MFC应用程序通常需要什么?

期待您的建议.



What could be the reason?

Also, what is normally the requirement to run an MFC application on a PC with XP/Windows 7 that doesn''t have some version of Visual Studio installed?

Looking forward to your suggestions.

推荐答案

我认为您必须将VC ++ 2005运行时可再发行文件安装到目标计算机上.您可以从http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en
I think you will have to install the VC++ 2005 runtime redistributables to the target machine. You can download it from http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en


I know that VC++ 2005 redistribution packageis all that is needed to run MFC on a PC with no VS but it doesn't work and gives this error. What I wanted to ask is this happening because of VC9.0 already installed on PC.
I'll appreciate more suggestions.


这篇关于在具有VC 9.0的PC上在VC8.0上运行MFC构建时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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