|
Previous Top Next |
This property is a windows version property and indicates the major version number. For example 5 is the version number of Windows XP.
Value |
Meaning |
4 |
Windows NT 4.0, Windows Me, Windows 98, or Windows 95 |
5 |
Windows Server 2003 R2, Windows Server 2003, Windows XP, or Windows 2000 |
6 |
Windows Vista or Windows Server "Longhorn" |
Example:
ITW ITWindowsClass
VS CString(101)
Code
!...
VS = ITW.GetWindowVersion()
Message('Version: ' & VS &|
'|Major Version: ' & ITW.MajorVersion &|
'|Minor Version: ' & ITW.MinorVersion &|
'|Build Number: ' & ITW.VersionBuildNr &|
'|Platform ID: ' & ITW.VersionPlatformID &|
'|Version Info: ' & ITW.VersionInformation, |
'Version Information',ICON:Information)
On Windows XP Home, service pack 1, the results can be seen in the screenshot below.
See also: