Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


ID: 25359, TCompile [Unit for generating the compile date]

by Clayton L. Wilson Email: unbrandedoutlaw@yahoo.com


Nonvisual component that modifies the unit file "Project.pas". This file has the date and time the project was compiled along with the build number.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 10.0 533 downloads
Copyright: No significant restrictions


Size: 12,412 bytes
Updated on Sat, 15 Dec 2007 18:44:36 GMT
Originally uploaded on Sat, 15 Dec 2007 18:39:34 GMT
SHA1 Hash: 4BEB4478D94889F4C29FFF37CD8C31772115332A
MD5 Hash: 8BD6E3DD779C83B66A88DADC92830A25

    Explore the files in this upload

Description
DETAILS
-------
Nonvisual 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.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03