Introduction to Bcb/delphi related file name extension

Source: Internet
Author: User

I have sorted out the common file extensions in the source code of the Delphi program, and given the meaning of these file extensions so that source control can be used as a reference, the extension is in alphabetical order (does not require the source code library does not mean that you do not need to enter the library).

~*

Delphi generated backup files, in the version control library and release code should not appear in these files, if you modify a file for some reason did not save, you can try to use these files to restore.

Bmp/wmf/emf/gif/jpg/pcx/png/tiff/ico/cur/ani

Graphics/icon/cursor files that need to be in the source code library if they are used.

Bpg

Engineering group files (Borland project group file), text format, need to enter the source code library, BPG file is actually makefile format, to compile BPG file can use the Make tool, the syntax is as follows:

Make-f%filename%

Bpl

Runtime package file, is a Borland definition of a special form of the DLL, simple and ordinary DLL is the difference is that BPL some of the common parts use only the same reference, and the DLL uses multiple copies, which makes BPL and the DLL in some aspects of the difference is very large.

Whether this type of file is in the source code library needs to be judged by its purpose, in general, the source code compiled BPL do not need to enter the library, but if this BPL is the IDE's expansion, may also need to enter the library, and if the Third-party component does not provide the source code only provides this file, then this file also need to go to the source code library.

Bpr/bpf/bpj/h/cpp

BCB (Borland C + + Builder) related files, if the project uses BCB, you need to enter the source code base, but in our project should not need these files.

Cab

An ActiveX control package file that requires a source code base if it is a third-party control that is used by the project.

Cfg

The configuration file when the project is compiled. Dcc32.exe program to compile the project in the order of the use of the CFG file: First use Dcc32.exe the same directory of dcc32.cfg files, and then use the file to be compiled in the same directory dcc32.cfg files, and finally use to compile the file with the same name under the directory of the CFG file, in order to ensure that under different machine environment The identity of the result of the translation, this file needs to go into the source code base.

Dci

Code Insight file, save the Coding template (template), generally do not need to enter the source code library.

Dcp

Contains the header information of the package (Package) and the binary image file of the Dcu/dpu file in the package, the difference between the DCP and the BPL can be understood by the difference between the DCU and the Dll/exe, and the Delphi file that is needed for the package to be compiled using the file of the package, This file can be generated from source code and is generally not required for the source code library.

Dct

Component template file, if the project uses the Component template you need to go to the source code base.

Dcu/dpu

The binary image file corresponding to the unit, DPU is the DCU format of the Linux system. Dcu/dpu is the PAS binary intermediate format, and the corresponding DFM/XFM file is not linked into the DCU/DPU. In general, there is no need to enter the source code library unless it is provided in DCU form in a third-party library. This paper studies from C++builder-http://www.ccrun.com/article.asp?i=1025&d=dwni64

/>

Ddp/dti

Diagram files. Delphi 7 provides the diagram function, you can use a graphical description in a cell file that has no effect on compiling the source code, but if you use the Diagram feature, this file might be useful for the understanding unit, and you should not need to put these files into the source code base in our project. Even those files may be due to a switch to a diagram page card.

Dfm/xfm

The form file. Xfm is a form file used by the Cross-platform source code. DFM/XFM has two formats, one is binary format, one is text format, in order to facilitate version control, need to use text format, text format also exists in many formats, Delphi7 text format DFM/XFM save such as Chinese use Unicode encoding value, and Delphi7 before the use of Direct is ANSI,DELPHI7 support open the original format DFM file. The source code library needs to be entered.

Dll/so

Dynamic link library files. So is the dynamic link library file under Linux. If it is a compiled dll/so file, no need to enter the source code base, if the project is used to the third third-party need to enter the source code base.

Related Article

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.