Delphi 6 IDE和可在Windows 7 64位上运行的应用程序? [英] Delphi 6 IDE and apps working on windows 7 64 bit?
问题描述
我有一个用Delphi 6开发的商业应用程序。我已经在Windows XP 32位环境下进行开发,但即将获得一台使用Windows 7 64位环境的新开发机器。
I have a commercial app that is developed with Delphi 6. Ive been developing under windows xp 32 bit, but am about to get a new development machine with Windows 7 64 bit.
Delphi 6能否在新环境中安装并工作?
Will Delphi 6 install and work in the new environment ?
开发的应用程序还使用BDE,在远景上我根本无法使用它,这意味着我的客户不得不留在Windows XP上。我不希望Windows 7出现这种情况。BDE在Windows 7上工作是否有任何问题?
The developed app also uses the BDE, on vista I couldnt get it to work at all, which meant my customers had to remain on windows xp. I dont want this to be the case for windows 7. Does the BDE have any problems working with windows 7 ?
(或者最好使用虚拟化)
(or is it best to use virtualisation )
推荐答案
我的开发计算机已经启用UAC的Windows 7 64位系统运行了将近一年。我在Delphi 6中进行日常开发没有问题。我确实有一个建议,但这对于在Vista或更高版本的Delphi 2007之前安装任何版本的Delphi都是正确的:
My development machine has been running Windows 7 64-bit for almost a year now, with UAC enabled. I do daily development in Delphi 6 without problem. I do have one recommendation, but this holds true for installing any version of Delphi before Delphi 2007 on Vista or higher:
而不是安装到\Program Files,而是安装到非系统保护的文件夹。例如,我将Delphi 6安装到C:\Programs\Borland\Delphi6\(并将Common Files文件夹安装到C:\Programs\Common Files)。这样可以避免与Delphi 6不兼容UAC的问题。 Windows将程序文件写入虚拟存储的文件虚拟化功能引起了Delphi 6的更多混乱。但是,我描述的方法效果很好。
Rather than installing to \Program Files, install to a non-system protected folder. For example, I installed Delphi 6 to C:\Programs\Borland\Delphi6\ (and the Common Files folder to C:\Programs\Common Files). This avoids the problems related to Delphi 6 not being UAC friendly. The file virtualization feature, where Windows redirects \Program File writes to a virtual store causes additional confusion for Delphi 6. However, the approach I describe works very well.
这篇关于Delphi 6 IDE和可在Windows 7 64位上运行的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!