Delphi10.2 VCL Forms Application 的構成


Delphi10.2 項目的構成(File Extensions of Files Generated by RAD Studio)

Step1、打開 Delphi10.2,選擇【File | New | VCL Forms Application - Delphi】,創建一個 Delphi 應用程序;

new

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

saveall

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

build

Step4、接下來打開Windows資源管理器,打開剛剛保存的文件夾看看,如下圖:

171002001

並且 Win32(Win64) 的 Debug(Release) 目錄下文件如下:

171002002

下面結合 Delphi10.2 的幫助文件說明下每個文件的具體意義:

  • 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.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM