How do I create a stand-alone application in C++Builder.

by Feb 18, 1999


How do I create a stand-alone application, i.e. one that does not require external DLL or BPL files?



There are two project options relevant to this problem. Making the following changes will cause Borland packages and the C++ runtime library to be compiled into your executable file:

  • From the main menu of the C++Builder IDE, Click Project, Options, then the Linker tab. Uncheck the option labeled "Use Dynamic RTL".
  • In the same window, click the Packages tab and uncheck the option labeled "Build with runtime packages", and click Ok.

Note: 3rd party C++ libraries are not affected by these settings. ActiveX controls used by the application must always be deployed in a separate file.


Article originally contributed by Vincent Drake