Win32位应用程序可以在64位服务器上运行吗? [英] Will win32 bit applications run on a 64 bit server?

查看:486
本文介绍了Win32位应用程序可以在64位服务器上运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的情况:我工作的公司已将应用程序部署到32位Windows 2003服务器上,他们希望迁移到64位Windows 2008 Server上。已经注意到,这些32位定制开发的应用程序将无法在64位计算机上运行。我一直不知道这一点。

Here's my scenario: the company I work has applications deployed to a 32bit Windows 2003 server and they want to move to a Windows 2008 Server that is 64 bit. It has been noted that these 32bit custom developed applications will not run on a 64 bit machine. I was not aware of this.

我一直认为32位软件可以在64位OS上运行,而只使用32位地址。另一个64位软件则不能在32位OS上运行。在64位上,确实必须创建64位软件,但仍然可以并且仍然可以为32位计算机创建软件。

I have always thought that 32bit software CAN run on a 64 bit OS and just use the 32bit address. A 64 bit software on the other cannot run on a 32 bit OS. On a 64 bit, one does have to create 64 bit software but can and still also create software that is designed for 32 bit machines.

有人可以详细说明吗?

Can someone please elaborate on this?

推荐答案

通常,32位应用程序将在64位Windows(在技术上称为WOW64-Windows On Windows)下运行)。这适用于迄今为止的所有64位Windows版本,包括Server。

In general, 32-bit applications will run under a 64-bit Windows (This is technically called WOW64 - Windows On Windows). This applies to all 64-bit Windows version to date, including Server.

WOW64进程在任务管理器中用* 32标记,例如:chrome.exe * 32。 Sysinternals的Process Explorer对此有单独的一列:图像类型(64位与32位)。

WOW64 processes are marked in task manager with *32, For example: chrome.exe *32. Sysinternals' Process Explorer has a separate column for this: Image Type (64 vs 32-bit).

如果应用程序具有托管在其他进程内部的组件,则这些组件必须

If the app has components hosted inside other processes, then those components must accommodate processes they're hosted in. Examples:


  • Shell扩展托管在explorer.exe中,其位数与操作系统的位数匹配。因此,您应该同时编译32位和64位扩展名,并在安装过程中注册与操作系统位数匹配的扩展名。

  • 内核模式驱动程序托管在内核中,该驱动程序的内核位也与操作系统的位匹配。因此,上面的方法适用。

  • Winsock LSP(分层服务提供程序)托管在所有64位(本机)和32位(WOW64)进程中。因此,您应该同时编译32位和64位LSP,并在安装过程中分别在各自的目录中注册。

还有关于文件重定向(System32 / SysWOW64 / SysNative)和注册表重定向(Wow6432Node)的注意事项,我将不再赘述。

There are also considerations regarding file redirection (System32 / SysWOW64 / SysNative) and registry redirection (Wow6432Node), which I will not go into.

这篇关于Win32位应用程序可以在64位服务器上运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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