Delphi Programming
Advertisement
File extension Type Delphi Version Description Keep in Source Control?
.bdsdeploy Deployment file      
.bdsgroup Borland Developer Studio Project Group      
.bdsproj Project Delphi 2005 or newer Borland Developer Studio Project File. Successor of the .dof file holding compiler options etc. Also used for opening a project. Yes
.bpg Borland Project Group      
.bpl Binary Delphi 4 and newer (Binary). Borland Package Library. DLL including VCL components available for use in the Delphi environment at design time or by applications at run time. Maybe
.cbk Other   Temporary Backup File. No
.cfg Other   Project Configuration File. Yes
.dcp Binary   Delphi Component Package. Contains symbol information for code compiled into a package. Maybe
.dcpil Binary   Delphi Compiler Symbolic Information. The purpose of a .DCPIL file is to provide symbolic information to the compiler about certain language constructs that can't be reconstituted from CLR metadata alone. This is a traditional Delphi technique for handling and caching compiler symbols. Maybe
.dcr Resource   Delphi Component Resource File. Contains resource information for components, such as the icon to display in the palette. Yes
.dcu Binary Win32 Delphi Compiled Unit File. Maybe
.dcuil Binary .NET Delphi Compiled Unit File Maybe
.ddp Other Delphi 7 or older Delphi Diagram Portfolio File. Used by the diagram editor. Maybe
.dfm Resource   (text). Delphi Win32 Form File. A text file listing the various objects and their property values contained within a form, including such things as form control coordinates. Right click on the form and select View as Text from the pop-up menu to view this file. Manual alterations to this file may prevent the IDE from being able to load the form. Use the Environment Options dialog to specify which format to use for newly created forms. The text format is recommended as it better supports source control. This file should not be deleted. Yes
.dof Other Delphi 7 or older Delphi Project Options File. Text file containing project options (such as compiler and linker settings, version info, search path and output directories). Yes
.dpc Package Collection      
.dpk Project Delphi Package Source File   Yes
.dpkw        
.dpl Binary Delphi 3 and older Delphi Package Library. Superseded by .bpl in later Delphi versions. Maybe
.dpr Project All Delphi versions Delphi Project File. The main file for any project. Contains the source code of the main file for a Delphi project. It is the primary entry point for the executable and refers to the other source files in the project. Do not delete. Yes
.dproj Project Delphi 2007 Project File. Replaces bdsproj file. Yes
.drc Other   Resource String File. Contains resource string information. Can be deleted; will be regenerated from source code by compiler. No
.dsk IDE   Delphi Desktop File. Contains information about the desktop settings, including which files are open and the position of windows. No
.dsm Binary Delphi 6? Browser Symbol information from the last successful compile. Enviroment -> Preferences -> Desktop contents. No
.groupproj Project Group Delphi 2007 Project Group File. Replaces bdsgroup file. Yes
.identcache IDE   Temporary Cache File created by refactoring engine to improve performance. No
.local Other   User-specific project options. When using Starteam projects it will contain overrides to settings from the .bdsproj file. No
.map Debugging   The optional error map file will contain a list of error addresses and source line numbers, grouped together for each source file in the application. To create a detailed .map file, ensure the {D+} compiler directive is set, and the "Detailed Map File" option selected in the Project >Options>Linker page of the IDE. No
.nfm Resource Delphi 8.0 or newer Delphi .NET Form File. Yes
.pas Source   Delphi Unit Source File. Yes
.res Resource   Binary. Resource File. Binary file associated with a project containing resource definitions, such as strings, icons, images etc.

This file will be recreated by the IDE when loading a project but the icon will get lost in that process. Therefore you should either keep it in source control or find another way to create it.

Yes
.rsm Remote Debugging Symbols file.

other file extensions:

Advertisement