Package Shared Library File (*.bpl, *.dylib)

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, Mac 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 Mac OS X, 32-bit iOS Device and 64-bit iOS Device.

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\17.0\Bpl
  • For other platforms in Delphi and 64-bit Windows in C++: C:\Users\Public\Documents\Embarcadero\Studio\17.0\Bpl\<platform>
  • For other platforms in C++: C:\Users\Public\Documents\Embarcadero\Studio\17.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