Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!

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

Author: Embarcadero USA


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

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.