Goodbye Delphi
Its time to say goodbye to Delphi. It is important for your company to jump into this century and experience benefits such as .Net C#
Thanks to innovation initiative of RemObjects, it becomes possible to move lots of legacy code implemented in Delphi into .Net platform.
Oxygene is a language that is decidedly Object Pascal, and will make you feel immediately at home if you come from a Delphi or Object Pascal background, but at the same time is a modern language for the 21st century, with many, many advanced language features that take your productivity to the next level.
Let us jump into migration your VCL Delphi forms into .NET assembly for C#.
Step1 - build Delphi-WPF.dll which is part of DelphiRTL project
Step2 - build MyOxygeneForms.dll which is Oxygene-Delphi resource assembly with your Delphi VCL forms. With a little efforts existing *.pas/*.dfm Delphi files can be ported into Oxygene language and included into elements assembly. You can edit *.pas/*.dfm in RAD Studio Delphi and then attach them to MyOxygeneForms.dll assembly. This allows you to move tons of your existing Delphi code into .Net and manage VCL objects from other .NET languages.
Step3 - build Visual C# WPF application and start to use MyOxygeneForms.dll(or YourOxygeneForms.dll 😊 )
VCL form components are now available for use in C#
Enjoy your Delphi code on .Net platform and be prepared to move there.
Source code of the Delphi-C# integration example is available for download here
No comments:
Post a Comment