[DUG] Windows 8.1 issue - Wrong Windows Version returned
John Bird
johnkbird at paradise.net.nz
Thu Jan 16 01:04:36 NZDT 2014
Another trap for the unwary:
Standard Win32MinorVersion returns the wrong version number for Windows 8.1 – ie one gets 6.2 rather than 6.3
>From MSDN
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833%28v=vs..85%29.aspx
OSVERSIONINFOEX structure (Windows) - MSDN - Microsoft
msdn.microsoft.com/en-us/library/windows/.../ms724833(v=vs.85).aspx
Windows Server 2008 R2, 6.1, 6, 1, OSVERSIONINFOEX.wProductType !
Lists all the Windows Major/Minor version numbers with the delightful footnote ... “Applications not manifested for 8.1 will return the Windows 8 OS version value (6.2).”
So now I have to manifest the program for Windows 8.1 for it to see the correct Windows version. So I have to find out whatever that actually involves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20140116/48abb0c2/attachment.html
More information about the Delphi
mailing list