Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ caveat on detecting major/minor OS version without an application manifest
|
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 (2,558 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 (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Fri 10 Nov 2017 08:35 AM (UTC) |
| Message
| |
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Fri 10 Nov 2017 10:42 AM (UTC) |
| Message
| |
| Posted by
| Fiendish
USA (2,558 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 (2,558 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.
19,365 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top