Compiling C++ Design-Time Packages That Contain Delphi Source
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
- The Delphi compiler must be able to resolve units in the
DesignIDEpackage. To enable this, in the C++Builder package project, go to Project > Options > Delphi Compiler > Other Options.
-LUDesignIDEto the Additional Options field.
- The C++ linker must be able to resolve the reference inside the compiled design-time
.objto link. To allow this, in the C++Builder package project, select the Project > Add To Project > Requires tab.
- In the Package name field, enter
designide.bpiand click OK.
You can now compile and install your C++Builder package.