在64位Windows上运行的32位应用 [英] 32 bits app running on 64 bit windows

查看:72
本文介绍了在64位Windows上运行的32位应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi,我的32位MFC应用程序,是在Windows 7 32位VS2010上开发的,在64位Windows机器上运行时存在一些稳定性问题.我目前无法使用64位计算机,但是我有一位非常乐于助人的客户,已经隔离了一些问题.

他说问题出在默认安装的文件夹位置.我将innosetup 5用于安装程序并安装在所有标准位置,即程序文件/我的公司/我的产品等.

但我的客户认为在Windows 7 64位计算机上,该文件夹仅适用于64位应用程序,而我的32位应用程序需要放入c:\ Program Files(x86)

这个http://www.codeproject.com/KB/system/64BitOSAndPortingIssues.aspx

似乎证实了这一点,但我仍然对如何处理此问题感到困惑.在Win 7 64位上运行32位应用程序仅仅是解决安装程序问题,还是我需要对代码或构建过程进行任何更改?

我还应该提到我将mfc包含为静态链接库,而不是dll

Thanks

my 32 bit MFC app, developed on windows 7 32 bit with VS2010 has some stability problems running on 64 bit windows machine. i don''t have access to a 64 bit machine at the moment but i have a very helpful customer who has isolated some of the issues.

he says the problem my be in the default installed folder location. i use innosetup 5 for the installer and install in all the standard places, i.e. Program Files/My Company/My Product etc.

but my customer thinks on a windows 7 64 bit machine, that folder is for 64 bit applications only and my 32 bit app needs to go in a c:\Program Files(x86)

this http://www.codeproject.com/KB/system/64BitOSAndPortingIssues.aspx

seems to confirm that but i''m still a bit confused on how to handle this. is running a 32 bit app on win 7 64 bit simply a matter of fixing the installer or do i need to make any changes to the code or the build process?

i should also menstion that i include mfc as a static linked library, not a dll

thanks

推荐答案

32位程序的默认位置是 Program Files(x86);除了32位应用程序应该在64位上运行且没有其他更改之外.
The default location for 32 bit programs is Program Files (x86); other than that a 32 bit application should run without any other changes on 64 bit.


这篇关于在64位Windows上运行的32位应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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