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\23.0\DCP
  • For other platforms: C:\Users\Public\Documents\Embarcadero\Studio\23.0\DCP\<platform>
Note: DCP file must be in the same directory as the package you are debugging, or in the search path; if not, the debugger will not find it. This is only applicable to Win32 and Win64 platforms. To change the DCP output directory and search path, go to Project > Options > Delphi Compiler.

See Also