Delphi-related file extensions

Source: Internet
Author: User

I sorted out common file extensions in the source code of the program using Delphi, and provided these file extensions.
For source code management as a reference, the extension is in alphabetical order (do not need to enter the source code library does not mean no
).

========================================================== ==========================================================
~ *

The backup files generated by Delphi should not appear in the version control library and release code.
If a file is not saved for some reason, you can use it to restore it.

========================================================== ==========================================================

BMP/WMF/EMF/GIF/jpg/PCX/PNG/tiff/ICO/cur/ANI

Graphics/icons/cursor files, which need to be imported into the source code library if used.

========================================================== ==========================================================

BPG

Engineering Group file (Borland project group file), in the text format, needs to be imported into the source code library; BPG File
It is in makefile format. You can use the make tool to compile BPG files. The syntax is as follows:

Make-F % filename %

========================================================== ==========================================================

BPL

The runtime package file is a special format defined by Borland. Simply put, the difference between it and common DLL is
BPL has some shared parts that only use the same reference, while DLL uses multiple copies, so that BPL and DLL
Some aspects of the difference is very obvious when the Emperor throws the yellow straw scratching the yellow plum segment yellow screen Yi strong tip Yun caused
? Whether this type of file is imported into the source code library depends on its purpose. Generally, the BPL compiled by the source code does not need
But if this BPL is an IDE extension plug-in, you may also need to enter the library. In addition, if the third-party component does not provide the source
The Code only provides this file, the file also needs to enter the source code library.

========================================================== ==========================================================

BPR/BPF/bpj/h/CPP

BCB (Borland C ++ builder) files, if the project uses BCB, you need to enter the source code library, but in my
These files should not be needed in our project.

========================================================== ==========================================================

Cab

ActiveX control package file. If it is a third-party control used by the project, you need to enter the source code library.

========================================================== ==========================================================

Cfg

The configuration file used to compile the project. The order in which the cfg file is used when the dcc32.exe program compiles the project is as follows:
C32.exe in the same directory as the dcc32.cfg file, and then use the dcc32.cfg file in the same directory as the file to be compiled.
To ensure the consistency of the compiled results in different machine environments,
This file needs to be imported into the source code library.

========================================================== ==========================================================

DCI

The Code insight file stores the code template. Generally, you do not need to enter the source code library.

========================================================== ==========================================================

DCP

Contains the package header information and the binary image of the DCU/DPU file of the unit file in the package.
The difference between BPL can be understood by the difference between DCU and DLL/EXE. The DCP of this package is required when Delphi compiles and uses the package file.
File, which can be generated by the source code. Generally, you do not need to enter the source code library.

========================================================== ==========================================================

DCT

Component template file. If the project uses a component template, it needs to be imported into the source code library.

========================================================== ==========================================================

DCU/DPU

The binary image file corresponding to the Unit. DPU is the DCU format in Linux. DCU/DPU is the second of PAS
The DFM/XFM file is not linked to DCU/DPU. Generally, you do not need to enter the source code library,
Unless provided in the form of DCU by a third-party library.

========================================================== ==========================================================

DDP/HDL-C

Digoal file. Delphi 7 provides the divisor function, which allows you to use graphical descriptions in the unit file.
Type files do not affect the source code compilation. However, if digoal is used, this file may
Useful. In our project, these files do not need to be imported into the source code library, even if these files are available
Generated by switching to the digoal page card.

========================================================== ==========================================================

DFM/XFM

Form file. XFM is a form file used by the source code of the cross platform. DFM/XFM can be in binary format.
Text format. To facilitate version control, you must use the text format.
, Delphi7 text format DFM/XFM save such as Chinese use unicode encoded value, and before Delphi7
ANSI is used directly. Delphi7 supports opening DFM files in the original format. You need to enter the source code library.

========================================================== ==========================================================

Dll/so

Dynamic Link Library file. So is the dynamic link library file in Linux. If it is a compiled dll/so file, you do not need
Go to the source code library. If it is a third-party library used by the project, go to the source code library.

========================================================== ==========================================================

DMT

Menu template file. Generally, you do not need to enter the source code library.

========================================================== ==========================================================

DOF/KOF

Project Options file (KOF) is the DOF file on the Linux platform.
This file contains the project-> options information of Delphi, compilation configuration information, and
Directory, Link, version, and condition switch. In general, DOF is the superset of the cfg file with the same name (the format of DOF and CFG
). Text format. To ensure the consistency of the compiled results in different machine environments, this file must be imported to the source
Code library.

========================================================== ==========================================================

DPC/PCE

Package collection file and package collection editing file. Delphi supports the integration of multiple packages into one file.
This format allows you to easily distribute multiple packages to other developers. You can use this format to easily configure the IDE environment. This
Files need to be imported into the source code library.

Dpk/dpkw

Package file. Dpkw is a dpk file under the cross platform. The package file lists the files contained in the package and the packages that the package depends on,
And package description, package compilation options, etc. Text format, which must be imported into the source code library.

========================================================== ==========================================================

DPR

Project files. Text format, which must be imported into the source code library.

========================================================== ==========================================================

DRC

Package resource file, which provides the resources required for packages such as component icons. Binary format. If it is the DCR used by the package
Enter the source code library.

========================================================== ==========================================================

DRL/dro

Repository file. Delphi provides the repository function, allowing developers to share development templates and
Using the repository function can speed up development. With the shared repository configured by the development team, you can use reposi.
Stopped. If the repository function is not used, you do not need to enter the source code library.

========================================================== ==========================================================

DSK

Desktop file. Saves the layout of the IDE (or may contain the browsing mark, depending on the IDE settings), to prevent development
Staff ide layout settings. Text format. This file should not be imported into the source code library.

========================================================== ==========================================================

EXE

Executable File. For non-third-party components, you do not need to enter the source code library.

========================================================== ==========================================================

HLP/CNT/TOC/CHM

Help file. Enter the source code library.

========================================================== ==========================================================

IDL

Interface Definition Language file. IDL defines interfaces, which are often used in COM and CORBA development. Text Format, required
Enter the source code library.

========================================================== ==========================================================

INC

Include File. Different from C ++'s include. In the source code file that can be embedded in Delphi
$ I to include files is equivalent to copying the contents of an inc file to the current position, which is generally used to extract some duplicate
Content that must be defined for each unit, or is used to define universal compiler indicator conditions, or you can even use Delphi in
The C mechanism implements the C ++ Paradigm (unfortunately, Operator Overloading is not supported ). Text Format: Enter the source code library.

========================================================== ==========================================================

INF/REG

Register a file. Text Format: Enter the source code library.

========================================================== ==========================================================

Ini

Initialize the configuration file. If it is used as the initial configuration file, you need to enter the source code library.
The generated configuration file does not need to be imported into the source code library.

========================================================== ==========================================================

Int

The interface definition file of a cell. Files extracted from interfaces of units in Delphi.
The header file is similar to the C ++ header file, but it is only for developers to refer to the definition of the Unit Interface and does not participate in compilation. Text Format, no need
Enter the source code library.

========================================================== ==========================================================

Lib

Import the database file. For C ++ DLL import file, Delphi does not need lib file. If you want to develop C ++
To use some DLL, you need to provide the corresponding lib file. Can be imported into the source code library.

========================================================== ==========================================================

Log

Log File. Text Format, no need to enter the source code library.

========================================================== ==========================================================

Map

The layout of executable files. Text Format, no need to enter the source code library.

========================================================== ==========================================================

MDB/DBF/GD */DB/MDX/DBT/ndx/MB/Val/QBE/PX/x */y *

Desktop database files. Decide whether to enter the source code library based on the project.

========================================================== ==========================================================

OBJ/o

Target file. Binary format. For example, if it is a target file linked to source code $ L, it must be imported into the source code library.

========================================================== ==========================================================

OCX

ActiveX control file. Binary format. If it is a third-party control used by the source code, it must be imported into the source code library.

========================================================== ==========================================================

PAS

Unit file. Text format, which must be imported into the source code library.

========================================================== ==========================================================

RC

Resource script file. After being compiled using brcc32.exe, it becomes the res file. Text format, which must be imported into the source code library.

========================================================== ==========================================================

Res

Resource file. Contains the main icons, string tables, icons, graphics, and so on of the program. Binary format, which must be imported into the source code library.

========================================================== ==========================================================

RPS/dfn

Translate files in multiple languages. Delphii de provides a multi-language support mechanism. Dfn is in binary format, as shown in figure
If the project adopts the international mechanism provided by Delphi, these files need to be imported into the source code library.

========================================================== ==========================================================

RSM

Debug the symbol information file. Some additional debugging tools require debugging symbol information. If you want to support these tools
You need to provide the RSM file. Binary format, no need to enter the source code library.

========================================================== ==========================================================

SQL/tql

SQL statements and SQL template files. Binary format: Enter the source code library.

========================================================== ==========================================================

Stat

Project statistical information file. Text Format, no need to enter the source code library.

========================================================== ==========================================================

TDS

External debugging symbol table file. You do not need to enter the source code library.

========================================================== ==========================================================

Todo

Todo list file. You do not need to enter the source code library.

========================================================== ==========================================================

Upg

Upgrade information file. You do not need to enter the source code library.

========================================================== ==========================================================

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.