![]() |
![]() ![]() ![]() |
dcVersionInfo component.
|
property FileMajorVersion: LongInt; // Read only!
|
The FileMajorVersion property represents the left-most 32 bits of the file version number.
|
|
FileMajorVersion and FileMinorVersion are used together to build a 64-bit file version number. The 64-bit value is represented in Microsoft's file version format.
|
|
![]() |
|
Following code demonstrates how to convert FileMajorVersion value to the real version number (major and minor):
|
|
with dcVersionInfo1 do
|
Label1.Caption := IntToStr(HiWord(FileMajorVersion)) + '.' + IntToStr(LoWord(FileMajorVersion));
|
FileMinorVersion, ProductMajorVersion, ProductMinorVersion, FileVersion, FileVersionFloat properties.
|