使已开发的应用程序 64 位启用 [英] Make already developed application 64 bit enable

查看:29
本文介绍了使已开发的应用程序 64 位启用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
如何准备迁移到 Delphi 2010 和 Unicode 时用于 64 位

我已经在 Delphi 7 中开发了一个应用程序.现在我需要启用它以支持 64 位.

I have already developed an application in Delphi 7. Now I need to enable it to support 64 bit.

推荐答案

Delphi 7,实际上所有已发布的 Delphi Win32 版本,只生成 32 位可执行文件.但是,32 位可执行文件通过 WOW64 模拟器在 64 位操作系统上运行良好.虽然这是一个模拟器,这个词通常意味着性能下降,但 WOW64 的性能并不容易与原生 64 位性能区分开来.

Delphi 7, and indeed all released Delphi Win32 versions, only produce 32 bit executables. However, 32 bit executables run perfectly well on 64 bit operating systems through the WOW64 emulator. Although this is an emulator, a word that usually implies degraded performance, WOW64 performance is not readily distinguishable from native 64 bit performance.

如果您希望将 Delphi 应用程序移植到 64 位,您需要等待 Delphi 的下一个版本发布,该版本将生成 64 位可执行文件.

If you wish to port your Delphi app to 64 bit you need to wait for the next version of Delphi to be released which will produce 64 bit executables.

然后您必须将您的应用程序从 Delphi 7 移植到最新版本的 Delphi.这将是一项艰巨的工作,因为您还必须从 ANSI 字符串代码移植到 Unicode 字符串代码.在我看来,这部分端口将比 32 到 64 位部分更耗时,如果你想抢先一步,现在升级到 Delphi XE 来启动 Unicode 端口是明智的.

Then you will have to port your app from Delphi 7 to the latest version of Delphi. This will be a big job because you will also have to port from ANSI string code to Unicode string code. In my view this part of the port will be more time consuming than the 32 to 64 bit part and if you wanted to get a head start you would be wise to start the Unicode port now by upgrading to Delphi XE.

这篇关于使已开发的应用程序 64 位启用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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