RegisterComponents |
Top Previous Next |
What is translated > Special RTL/VCL-functions > RegisterComponents
Since components are an important feature of Delphi, a special translation routine was made for their registration in C++Builder too.
RegisterComponents('NewPage',[TCustom1, TCustom2]); -> TComponentClass classes[2] = {__classid(TCustom1), __classid(TCustom2)}; RegisterComponents("NewPage", classes, 1);
For other compilers this function is useless.
|
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |