如何部署在PC上运行的MFC Application? [英] How to deploy MFC Application that run on PC?

查看:87
本文介绍了如何部署在PC上运行的MFC Application?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在具有Visual Studio并且可以运行MFC应用程序的PC上运行安装程序,但是无法在仅安装Windows 2000/XP的PC上运行安装程序.我收到了错误类未注册".在Google上搜索,但找不到相关的解决方案.因此,如何部署它?当我检测到依赖项时,我在msxml.dll中发现错误,这就是为什么我必须排除它的原因,这就是为什么出现此问题的原因?运行MFC应用程序时发现"_except_handler4_common找不到msvcrt.dll"错误.

I tried to run setup on the PC that has visual studio and can run MFC application,But cannot run it on the PC which has only Windows 2000/XP Installed.I got the error "Class Not Registered".I tried to search on Google but can''t find relevant Solution. So for that how to deploy it?When I detect Dependencies I found error in msxml.dll, that why I have to exclude it.That''s why this problem occuring? "_except_handler4_common could not be located msvcrt.dll" error found,when run MFC Application

推荐答案

您必须尝试包括C ++可再发行文件-例如,请参见此处 [
You must try and include the C++ redistributables - for example, see here[^].
You might need to download the right install based on your version.


我们所有人都有过一天……^^

原因可能有很多,Abhinav S回答您的问题是正确的.

您应该检查是否使用未注册的特殊ActiveX,然后进行注册:

将dll的项目使用位置放在可访问的文件夹中(第一次尝试是与应用程序位于同一文件夹).

...

Google的部署VC(在此处输入版本)MFC应用程序",您将在该主题上获得更多帮助...

HTH ...
All of us have been there someday... ^^

It can be for a lot of reasons, what Abhinav S has answered you is correct.

You should check if you are using a special ActiveX which is not registered and then register it: http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F146219&ei=wb-mTZyRI826hAeZq6zfCQ&usg=AFQjCNEQCMFV9VYa-uZXpiKk4IOl7N4OjA[^].

You should download and install also the redistributables from your VC version (see Abhinav S post).

If you have selected not to statically link the MFC libraries you should add them also (search for that "mfc libraries needed deploy" in google and you''ll get more info on that...).

Put the dll''s your project use in a accessible folder (the first attempt is the same folder of the app).

...

Google for "deploy VC (put the version here) MFC application" and you''ll get further help on that topic...

HTH...


这篇关于如何部署在PC上运行的MFC Application?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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