caveat on detecting major/minor OS version without an application manifest
|
It is now over 60 days since the last post. This thread is closed.
 
Refresh page
Posted by |
Fiendish
USA (1,744 posts) bio
Global Moderator |
Date |
Thu 09 Nov 2017 06:19 PM (UTC) Amended on Thu 09 Nov 2017 06:56 PM (UTC) by Fiendish
|
Message |
https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx
says:
Quote: In Windows 8.1 and Windows 10, the GetVersion and GetVersionEx functions have been deprecated. In Windows 10, the VerifyVersionInfo function has also been deprecated. While you can still call the deprecated functions, if your application does not specifically target Windows 8.1 or Windows 10, you will get Windows 8 version (6.2.0.0).
So until an application manifest gets added, it looks like Windows 8.1 and 10 will misreport their versions in GetInfo(265) and GetInfo(266) |
https://github.com/fiendish/aardwolfclientpackage | top |
|
Posted by |
Fiendish
USA (1,744 posts) bio
Global Moderator |
Date |
Reply #1 on Fri 10 Nov 2017 08:35 AM (UTC) |
Message |
|
Posted by |
Nick Gammon
Australia (21,607 posts) bio
Forum Administrator |
Date |
Reply #2 on Fri 10 Nov 2017 10:42 AM (UTC) |
Message |
|
Posted by |
Fiendish
USA (1,744 posts) bio
Global Moderator |
Date |
Reply #3 on Fri 10 Nov 2017 08:48 PM (UTC) Amended on Fri 10 Nov 2017 08:52 PM (UTC) by Fiendish
|
Message |
Yeah but then you made code changes to address some visual glitches. I don't know if they fully resolved those issues or not. I think it would be fine to remove the bottom dependency section in the manifest. The important part of the manifest is the compatibility block, which is what gets GetVersion to stop lying about the OS, and from testing it seems to need to be embedded in the executable and doesn't work just as its own file. |
https://github.com/fiendish/aardwolfclientpackage | top |
|
Posted by |
Fiendish
USA (1,744 posts) bio
Global Moderator |
Date |
Reply #4 on Fri 10 Nov 2017 10:04 PM (UTC) |
Message |
I've amended the proposed manifest to delete that section. |
https://github.com/fiendish/aardwolfclientpackage | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,096 views.
It is now over 60 days since the last post. This thread is closed.
 
Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.