Delphi Compiled Package File (*.dcp)

From RAD Studio
Jump to: navigation, search

Go Up to File Types Index


When you build a Delphi package, RAD Studio generates a Delphi compiled package file. Projects that use your package need to access your Delphi compiled package file at build time.

A Delphi compiled package file is a binary image containing a package header and the concatenation of all Delphi compiled unit files in your package, including all symbol information required by the compiler and linker.

When you build your Delphi package, your Delphi compiled package file is generated by default as <package>.dcp into the following folder:

  • For 32-bit Windows: C:\Users\Public\Documents\Embarcadero\Studio\21.0\DCP
  • For other platforms: C:\Users\Public\Documents\Embarcadero\Studio\21.0\DCP\<platform>

To change the output directory, use the DCP output directory option in Project > Options > Delphi Compiler.

See Also