使已开发的应用程序的64位启用应用程序

2023-09-08 01:05:38 作者:冷面枪手☆

可能重复:   How迁移到德尔福2010年和统一code 时也prepare 64位

Possible Duplicate: How to also prepare for 64-bits when migrating to Delphi 2010 and Unicode

我已经开发了在Delphi 7的应用程序现在我需要,使其能够支持64位。

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

推荐答案

德尔福7,以及所有发布的德尔福的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.

如果您希望端口德尔福的应用程序到64位,你需要等待德尔福的下一版本将公布,这将产生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.

然后你将不得不端口您的应用程序德尔福7德尔福最新版本。这将是一项艰巨的任务,因为你还必须从端口ANSI字符串code到统一code字符串code。在我看来,这部分的端口会耗费更多的时间比32到64位的一部分,如果你想获得一个良好的开端,你将是明智的,现在开始统一code口通过升级到德尔福XE。

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.