将项目从Delphi 7迁移到Delphi XE有多困难? [英] How hard is it to migrate a project from Delphi 7 to Delphi XE?

查看:343
本文介绍了将项目从Delphi 7迁移到Delphi XE有多困难?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们公司的软件已经开发了10多年,因此里面确实有一些过时的东西。它仍然具有相当的功能,而且一切正常,但是我看到了Delphi XE的新功能,因此我想切换。问题是源代码本身超过300mb的.pas文件(包括组件等总计1gb)。

Our company have a software that has been in development for over 10 years, so there are some really dated stuff in there. It's still quite functional and everything, but I see the new features on Delphi XE and it makes me want to switch. Problem is that the source code itself is over 300mb of .pas files (1gb total with components, etc).

我们正在使用自定义组件,旧的jvcl内容和最新的devexpress。

We're using custom components, old jvcl stuff and the latest devexpress.

我有多难过如果我决定从Delphi 7迁移到Delphi XE,该怎么办?

How hard can I expect things to be if I decide to migrate from Delphi 7 to Delphi XE?

谢谢。

推荐答案

唯一的实际问题是转换为Unicode。您应该了解如何在Delphi中实现Unicode支持-从Marco Cantu 白皮书:Delphi和Unicode 开始

The only real problem is conversion to Unicode. You should learn how Unicode support is implemented in Delphi - start from Marco Cantu White Paper: Delphi and Unicode

在不知道实际代码的情况下,无法估计将旧应用程序升级到Unicode所需的工作量。如果您以标准方式使用字符串类型,则转换将很容易。现在已弃用任何具有字符串类型的低级技巧(例如将二进制数据存储在字符串中),并应重写相应的代码。

It is impossible to estimate the amount of work required to upgrade old applications to Unicode without knowing the actual code. If you were using string types in the standard way, the conversion would be easy. Any low-level tricks with string types (like storing binary data in strings) are now deprecated and the correspondent code should be rewritten.

这篇关于将项目从Delphi 7迁移到Delphi XE有多困难?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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