Introduction

Top  Next

Delphi2C# helps convert Delphi source code into C#. Both languages were designed by the Danish software engineer Anders Hejlsberg and share many concepts and even several class libraries.

 

However, C# uses managed code, whereas important parts of the Delphi RTL make extensive use of pointers. Therefore, the core parts of the Delphi RTL are rebuilt for C#, and additional helper classes are provided to simulate pointer behavior where necessary. As a result, the translation of typical user code generally works well.

 

Nevertheless, manual post-processing of the generated code is still required, although the goal of Delphi2C# is to keep the amount of manual work as small as possible. Some fundamental limitations are listed  here.

 

A partially pre-translated version of the Delphi RTL is available. Due to copyright restrictions of the Delphi RTL, this code can only be provided to customers who can prove that they own a valid Delphi license.

 

Delphi2C# is based on the experience gained from the earlier Delphi2Cpp project. Apart from the syntactic differences between the two target languages, one of the main differences between these converters is that C# does not support pointers or native type definitions in the same way as C++.

 

Availability

 

The current version of Delphi2C# and the additional code can be obtained using the contact information on the  TextTransformer websites:

 

https://www.texttransformer.com/Contact_en.html

 

https://www.texttransformer.de/Contact_ge.html

 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content