Show: Delphi C++
Display Preferences

Compiling C++ Design-Time Packages That Contain Delphi Source

From RAD Studio
Jump to: navigation, search

Go Up to How To Compile and Build Applications


C++Builder supports compiling design-time packages that contain Delphi source files. However, if any of those Delphi sources make reference to IDE-supplied design-time units from the Tools API, you must take steps to ensure that the references can be resolved by the C++Builder package.

To compile design-time packages that contain Delphi source

  1. The Delphi compiler must be able to resolve units in the DesignIDE package. To enable this, in the C++Builder package project, go to Project > Options > Delphi Compiler > Other Options.
  2. Add -LUDesignIDE to the Additional Options field.
  3. The C++ linker must be able to resolve the reference inside the compiled design-time .obj to link. To allow this, in the C++Builder package project, select the Project > Add To Project > Requires tab.
  4. In the Package name field, enter designide.bpi and click OK.

You can now compile and install your C++Builder package.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance