Show: Delphi C++
Display Preferences

API (*.bpl, *.dylib, *.so)

From RAD Studio
Jump to: navigation, search

Go Up to File Types Index


When you build a package for a desktop platform in Delphi or for Windows, OS X or iOS in C++, RAD Studio generates a package shared library file. Projects linking to your package dynamically need your package shared library file at run time.

The file name of your package shared library file is:

  • <package>.bpl for 32-bit Windows and 64-bit Windows.
  • bpl<package>.dylib for OS X, 32-bit iOS Device and 64-bit iOS Device.
  • bpl<package>.so for Linux.

When you build your package that meets the requirements, your package shared library file is generated by default into the following folder:

  • For 32-bit Windows: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
  • For other platforms in Delphi and 64-bit Windows in C++: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\<platform>
  • For other platforms in C++: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\<platform>\<build configuration>

To change the output directory:

  • In Delphi, use the Package output directory option in Project > Options > Delphi Compiler.
  • In C++, use the Final output directory option in Project > Options > C++ (Shared Options).

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance