Special treatment of some RTL functions

Top  Previous  Next

User interface > Translation options > Tuning options > Special treatment of some RTL functions

Some Delphi RTL functions and other elements are made to member functions in the C++Builder RTL.. Delphi2Cpp converts the generated C++ code accordingly for some of the frequently used function. You can switch off this special treatment and write your own C++ functions instead.

 

Addr

Assigned

AllocMem

Chr

Copy

Dec

Delete

Destroy

Dispose

Exclude

Free

FreeAndNil

FreeMem

GetMem

High

Inc

Include

IntDivide

Insert

Length

LogicalXor

Low

Min

Max

Move

New

Odd

Ord

Pred

Pos

Read

ReadLn

ReallocMem

Reset

Rewrite

Round

SetLength

Succ

RegisterComponents

SizeOf

Supports

Trunc

TypeInfo

Write

WriteLn

 

The following types and functions aren't RTL functions, but nevertheless subsumed here:

 

PAnsiChar

PChar

PWideChar

SubString

CreateForm

 

 

 

History

 

In early versions of Delphi2Cpp these functions were incorrectly named as VCL functions. The project files contained the keyword VCLSPECIALS instead of RTLSPECIALS.

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content