Delphi RTL

Top  Previous  Next

Pretranslated C# code > Delphi RTL

Delphi applications depend on the Delphi Runtime Library (RTL) and, in the case of VCL applications, on the Visual Component Library (VCL). Consequently, the translated application also requires compatible implementations of the RTL and VCL functionality it uses.

 

Delphi2C# provides helper files implementing selected Delphi compiler intrinsics and parts of the System unit.

The System unit is closely integrated with the Delphi compiler. Some fundamental operations are implemented directly by the compiler, while certain declarations use internal representations that only the Delphi compiler interprets correctly. For example, internal identifiers such as _AnsiStr are used in connection with AnsiString, and similar mechanisms exist for several other fundamental types. Parts of System.pas also rely on assembler or other compiler-specific code.

These helper files cover fundamental functionality but do not constitute a complete replacement for the Delphi RTL or VCL.

 

The additional RTL and VCL functionality required by an application must therefore be translated by the licensed user.

 

In addition, it is recommended to prepare some files of the Delphi RTL

 

Some helping code is already delivered with the Delphi2C# installer:

 

DelphiSets.cs.

AnsiString

ShortString

System

 

 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content