Opened 9 years ago

Closed 3 years ago

Last modified 3 years ago

#3299 closed defect (fixed)

Fix Windows 10 version detection

Reported by: historic_bruno Owned by:
Priority: Should Have Milestone: Alpha 24
Component: Core engine Keywords:
Cc: Patch: Phab:D2420

Description (last modified by Silier)

r15869 added detection for Windows 10, which at that time was version 6.4. Microsoft has since changed their scheme and will use 10.0 as the version number. However, with the latest Insider Preview, the CurrentVersion registry key we use lists "6.3" or Windows 8.1. I don't yet know if this is a bug or intentional.

At any rate, it's not recommended by MS to detect versions through the registry, they suggest either using the new version helpers API (not included in the vc120_xp toolset) or the methods described in this article.

Change History (2)

comment:1 by historic_bruno, 9 years ago

Description: modified (diff)

comment:2 by Silier, 3 years ago

Description: modified (diff)
Milestone: BacklogAlpha 24
Patch: Phab:D2420
Resolution: fixed
Status: newclosed

In rP24238

Fix OS detection on Windows 10.

Compatibility mode will be handled in a later diff.

Comments by: @Itms, @vladislavbelov

Differential Revision: https://code.wildfiregames.com/D2420

Last edited 3 years ago by Silier (previous) (diff)
Note: See TracTickets for help on using tickets.