在64位Windows上运行的32位应用

编程入门 行业动态 更新时间:2024-10-10 06:20:28
本文介绍了在64位Windows上运行的32位应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

hi,我的32位MFC应用程序,是在Windows 7 32位VS2010上开发的,在64位Windows机器上运行时存在一些稳定性问题.我目前无法使用64位计算机,但是我有一位非常乐于助人的客户,已经隔离了一些问题. 他说问题出在默认安装的文件夹位置.我将innosetup 5用于安装程序并安装在所有标准位置,即程序文件/我的公司/我的产品等. 但我的客户认为在Windows 7 64位计算机上,该文件夹仅适用于64位应用程序,而我的32位应用程序需要放入c:\ Program Files(x86) 这个www.codeproject/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 www.codeproject/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位应用

本文发布于:2023-06-05 23:16:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/529908.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!