Delphi10.2 項目的構成(File Extensions of Files Generated by RAD Studio)ide
Step一、打開 Delphi10.2,選擇【File | New | VCL Forms Application - Delphi】,建立一個 Delphi 應用程序;ui

Step二、選擇【File | Save All】,將咱們的默認Delphi程序保存到一個獨立的文件夾(例如 F:\Delphi10.2\First)中;code

Step三、在 Project Manager 中的 Build Configurations 和 Target Platforms 選項中分別選擇 32位 Debug、32 位 Release、64位 Debug和64位 Release組合,並按【F9】運行咱們的程序;orm

Step四、接下來打開Windows資源管理器,打開剛剛保存的文件夾看看,以下圖:blog

而且 Win32(Win64) 的 Debug(Release) 目錄下文件以下:three

下面結合 Delphi10.2 的幫助文件說明下每一個文件的具體意義:ci
- 【Project1.dpr】Delphi project source; when compiled, produces .exe, .dll, or .ocx file.
- 【Project1.dproj】Delphi project file created by the IDE. Contains the current settings for project options, such as compiler and linker settings, directories, conditional directives, and command-line parameters. Set these options using Project > Options. This file is not used when compiling a project from the command line using the command line compiler.
- 【Project1.dproj.local】User-specific project options.
- 【Project1.identcache】Information used for refactoring.
- 【Project1.res】Compiled and uncompiled resource files.
- 【Unit1.dfm】A Windows VCL form file.
- 【Unit1.pas】Delphi source file.
- 【_history 文件夾】 There are now three versions of the file stored in the current directory in a hidden directory named __history.
- 【_recovery 文件夾】 When Tools > Options > Environment Options > AutoRecover is enabled, RAD Studio saves the recovery files in the hidden folder called
_recovery
, in the folder of your project.
- 【Win32 文件夾 】Output folder, 32-bit Windows platform
- 【Win64 文件夾】 Output folder, 64-bit Windows platform
- 【Project1.exe】 應用程序
- 【Unit1.dcu】Delphi compiled unit file.