Delphi Compiled Unit File (*.dcu)

From RAD Studio
Jump to: navigation, search

Go Up to File Types Index

When you build a Delphi project, RAD Studio generates a Delphi compiled unit file for each unit in your project. You do not need to open these binary files or distribute them with your project.

A Delphi compiled unit file is an intermediate compiler output file produced from the source code of each unit in your project. Delphi compiled unit files enable rapid compiling and linking.

You can link a Delphi project to Delphi compiled unit files for any of the supported target platforms.

When you build your Delphi project, your Delphi compiled unit files are generated by default into C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration> with <unit>.dcu as file name.
To change the output directory, use the Unit output directory option in Project > Options > Delphi Compiler.

See Also