Runtime Packages & C++ Builder

Unlike Delphi, the C++ Builder default build mode is to link applications with runtime packages. When a new project is created, it will be dynamically linked with runtime packages. You change this setting from the IDE project options. If you want to build your project with runtime packages then you must make sure all uniGUI runtime packages are linked dynamically with your application.

Below is a list of all runtime packages that are used in a uniGUI application. XX stands for a number which corresponds to your Delphi/C++ Builder version. For example, uniGUI25 for Delphi/C++ Builder 10.2 Tokyo.

  • uniToolsXX

  • uIndyXX

  • uniGUIXXCore

  • uniGUIXX

  • uniGUIXXChart

  • uniGUIXXmCore

  • uniGUIXXm

For 64-bit applications you need 64-bit versions of BPL files. While you can build them from the IDE manually by changing the target for each runtime BPL, it is more practical to use batch files to generate 64-bit BPL files. See Building 64-bit library files: https://unigui.com/doc/online_help/building-64-bit-library-files.htm

It is important to remember that you must make sure that all of the above packages will be linked with your application dynamically. If you include only a subset of the above libraries in the Runtime packages list then it can lead to a situation where some uniGUI libraries will be linked statically while others will be loaded dynamically. This must be avoided. You need to either link all of the uniGUI libraries statically or all of them dynamically.

clip0104