RAD Studio 10.4.1 is now available! Learn more. 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   Learn More About Upgrading

Related posts
C++DelphiTech Partner

Easily Download And Install A Robust Syntax Highlighter For Delphi And C++ Builder From GetIt


Powerful Set Of 200+ VCL Components By DevExpress For Delphi Business Solutions

C++DelphiRAD Studio

Automate Excel and Word Directly From Delphi Using Office Component Suite

C++DelphiTech Partner

Set of utilities for Delphi and C++Builder to speed up your development process

Leave a Reply

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