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++. Delphi2Cpp II don't writes such symbols into the output. If the option "Apply EXTERNALSYM directive" is enabled,

 

 

See also

 

 



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content