TCompile 12.15.07

By Clayton Wilson

Freeware 16 Dec 2007

In category

Components > Experts, IDE etc. > Code


Non-visual component that modifies the unit file "Project.pas". This file has the date and time the project was compiled along with the build number.

The unit file "Project.pas" contains the following constants:

  • PROJECT_NAME: The name of the project.
  • EXE_FILENAME: The file name of the project.
  • DATE_CREATED: The date that the project was originally created.
  • AUTHORS_NAME: The name of the people who wrote the code for the project.
  • CONTACT_INFO: Contact information: eMail, phone number, address, etc.
  • COMPILE_DATE: Date project last ran inside Delphi.
  • COMPILE_TIME: Time project last ran inside Delphi.
  • BUILD_NUMBER: Number of times the project has been ran from inside Delphi.
  • UNIQUE_IDKEY: Unique identifier for the project. It has the ProjectName, CompileDate and CompileTime. NOTE: This constant is updated every compile to reflect the current compile date and time.
Instructions: Drop this component on the TForm, then set the project path. This can be done by placing the caret in the ProjectPath property field, then pressing the ENTER key.

Include "Project" in the USES clause. Save the project, then exit Delphi. The next time the project is opened in Delphi, the unit file "Project.pas" will be created. Then each time you run the program from inside Delphi, the unit file will be updated with the current date, time and the build number.


  • Status: Fully functional
  • Source: FW
  • Size: 12 412kB


  • Delphi 6