TProgramVersion

Represents the information about the program's version. For example, version 1.15.6.32 will have these values in the fields:

Major: 1
Minor: 15
Build: 6
Revision: 32
Type: 0
AdditionalNumber: 0

Version 2.50 Beta 10:

Major: 2
Minor: 50
Build: 0
Revision: 0
Type: 3
AdditionalNumber: 10

Constructor

Format:

TProgramVersion(unsigned int _Major,
  unsigned int _Minor,
  unsigned int _Build,
  unsigned int _Revision,
  VersionType _Type,
  unsigned int _AdditionalNumber);
					
function MakeProgramVersion(Major: Cardinal;
  Minor: Cardinal;
  Build: Cardinal;
  Revision: Cardinal;
  VType: VersionType;
  AdditionalNumber: Cardinal): TProgramVersion;
					

Major

Version’s major number.

Format:

unsigned int Major;
				
Major: Cardinal;
				

Minor

Version’s minor number.

Format:

unsigned int Minor;
				
Minor: Cardinal;
				

Build

Version’s build number.

Format:

unsigned int Build;
				
Build: Cardinal;
				

Revision

Version’s revision number.

Format:

unsigned int Revision;
				
Revision: Cardinal;
				

Type

Version’s release type.

Format:

VersionType  Type;
				
VType: VersionType;
				

Type: VersionType.

AdditionalNumber

Number of beta, alpha, or release candidate of the version. Not applicable for versions where Type is Release.

Format:

unsigned int AdditionalNumber;
				
AdditionalNumber: Cardinal;