Is there a way to migrate Delphi 2010 forms into Delphi Prism (.Net ) XE forms?

大兔子大兔子 提交于 2019-12-06 14:12:50

问题


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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/3809452/is-there-a-way-to-migrate-delphi-2010-forms-into-delphi-prism-net-xe-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!