有没有办法将 Delphi 2010 表单迁移到 Delphi Prism (.Net ) XE 表单?

发布于 2024-09-25 07:45:13 字数 163 浏览 2 评论 0原文

我知道,由于“本地”delphi 和 delphi.net 是不同的技术,因此不太可能生成可以将旧 dfm 表单迁移到 delphi prism 表单的工具。但是有没有一种工具可以促进这种迁移呢?基本上我有一个“本机”delphi 项目,我想将其迁移到 delphi .net,它是一个桌面应用程序,我该怎么做?

I know that since "native" delphi and delphi.net are different technologies it is unlikely to produce a tool that can migrate your old dfm forms to win forms for delphi prism. However is there a tool that facilitate such migration? Basically I have a "native" delphi project that I want to migrate to delphi .net, it is a desktop application, how do I go about that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

迟月 2024-10-02 07:45:13

VCL 和 Winforms 有很大的不同,使得这种转换并不容易。还有一些特定于 Delphi 的组件,没有直接的 .NET 对应组件,如果使用不受支持的第三方控件,转换工具可能会失败。旧的 VCL.NET 框架试图使这种转换更容易,但失败了。可以编写一个转换工具,但恕我直言,它的用途有限,仅适用于简单的表单。我不认识任何人,而且因为大多数从 Delphi 迁移到 .NET 的开发人员都采用了 VS/C# 方式 - 我认为将桌面应用程序从 Delphi 迁移到 Prism 没有什么优势 - 几乎没有理由编写一个。

VCL and Winforms are enough different to make such conversion not easy. There are also some components that are Delphi specific without a direct .NET counterpart, and a conversion tool probably would fail if unsupported third party controls are used. The old VCL.NET framework was an attempt to make that transition easier, but failed. A conversion tool may be written, but IMHO it would be of limited use and work for simple forms only. There's no one I am aware of, and because most developers that migrated from Delphi to .NET went the VS/C# way - I see very little advantages of moving a desktop application from Delphi to Prism - there are very little reasons to write one.

酒儿 2024-10-02 07:45:13

我知道移植 Delphi Win32的唯一工具Delphi .Net 代码到 Delphi-PrismOxidizer,但此应用程序不会将 Delphi 表单转换为 Winforms , Oxydizer 非常适合转换库代码和其他非视觉相关代码,但它仍然是帮助您翻译 Delphi 代码的绝佳选择。

您可以在此链接中找到更多信息

The only tool wich i know to port Delphi Win32 and Delphi .Net Code to Delphi-Prism is Oxidizer, but this app does not translate the Delphi forms to Winforms, Oxydizer is good for converting library code and other non-visual related code, however it is still a great option to help you to translate your Delphi code.

you can found more info in this link

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文