支持目前在 32 位操作系统下工作的 64 位操作系统 [英] Supporting 64bit OS which currently works in 32 bit OS

查看:46
本文介绍了支持目前在 32 位操作系统下工作的 64 位操作系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含许多服务和一个 UI 模块的应用程序.所有这些都是在 VC++ 6.0 中开发的.KLOC 总数为 560 KLOC.

I have an application which has many services and one UI module. All these are developed in VC++ 6.0. The total KLOC would be 560 KLOC.

它使用多线程、MFC 和所有数据类型,如 word、int、long.

It uses Mutltithreading,MFC and all datatypes like word,int, long.

现在我们需要支持 64 位操作系统.我们需要对产品进行哪些更改.

Now we need to support 64bit OS. What would be the changes we would need to make to the product.

支持是指既喜欢在 64 位操作系统上运行应用程序,又喜欢使用 64 位内存.

By support i mean both like running the application on a 64bit OS and also making use of the 64bit memory.

由于时间限制,我排除迁移到 VS2005 或高于 VC6.0 的任何内容.

I am ruling out migration to VS2005 or anything higher than VC6.0 due to time constraints.

那么需要做哪些改变.

推荐答案

64 位 Windows 通过 WOW 包括 32 位.任何 32 位应用程序都应该继续工作.

64bit Windows includes 32bit via WOW. Any 32bit application should just continue to work.

(只有驱动程序具有匹配操作系统的位数.)

(It is only drivers that have to match the bitness of the OS.)

[评论者注意:插件—任何类型—不是单独的应用程序,而是其他需要匹配主机的应用程序使用的dll.在这种情况下,您也会遇到同样的问题,即 64 位扩展与 32 位主机不兼容.]

[Note to commenters: plugins—of whatever type—are not separate applications but dlls used by other applications which do need to match the host. In that case you also get the same problem where 64bit extensions are incompatible with 32bit hosts.]

这篇关于支持目前在 32 位操作系统下工作的 64 位操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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