Apply EXTERNALSYM directive

Top  Previous  Next

User interface > Translation options > Tuning options > Apply EXTERNALSYM directive

If the tuning option "Apply EXTERNALSYM directive" is enabled, type declarations, which are marked with this directive aren't written into the generated code.


Symbols that are defined in the C++ API of the operation system often have to be redefined in Delphi. The other way round, if C++ code is generated from Delphi, such symbols have to be omitted. For this purpose the $EXTERNALSYM directive is used. This directive tells the C++Builder that the according symbol already exists in C++. DelphiXE2Cpp11 don't writes such symbols into the output. If the option "Apply EXTERNALSYM directive" is enabled,


See also

This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content