locked
windows 10 version 6.2-9200? RRS feed

  • Question

  • I am trying a few of my own programs (I am a developer) on windows 10 build 9926. I read that windows version should be 6.4 but when I call GetVersionEx the apparent version is 6.2-9200 which is windows 8 !!

    there must be some sort of virtualization taking place ?

    Thursday, February 19, 2015 6:14 PM

Answers

  • The problem is that you are using GetVersionEx to pick up the version info.  GetVersionEx is fully deprecated in Win10.  Calling GetVersionEx will always return major/minor of 6.2 or (in some cases 6.3).  It will NEVER return the expected major/minor of 10.0.

    Search this online and you will get to the "replacement" version API's that you can use in your code.

    The official version of this Win10 build is 10.0.9926.

    (NOTE:  THESE "REPLACEMENT" API'S WORK OK IN BUILD 9926, BUT THEY DO NOT WORK AS EXPECTED IN BUILDS 10009 AND 10014.  LOGIC UTILIZING THESE "REPLACEMENT" API'S NOW YIELD A RESULTING MAJOR/MINOR OF 6.3)

    • Marked as answer by crack tracker Friday, February 20, 2015 7:38 AM
    Friday, February 20, 2015 2:10 AM

All replies

  • Make sure report this using Feedback App.

    This is Technical Preview and still under development and testing and many of features are incomplete and not implemented yet.

    Thursday, February 19, 2015 9:16 PM
  • I am trying a few of my own programs (I am a developer) on windows 10 build 9926. I read that windows version should be 6.4 but when I call GetVersionEx the apparent version is 6.2-9200 which is windows 8 !!

    there must be some sort of virtualization taking place ?

    I'm a developer, too. I use WMI(Windows Management Instruction) to get OS version successfully. The below is a figure of my software.

    Here's a sample of source code (VB.NET). 

    Imports System.Management ' -- WMI (adding Reference : System.Management)

    Private Sub Get_OS_Version()
        Dim mc As New System.Management.ManagementClass("Win32_OperatingSystem")
        Dim moc As System.Management.ManagementObjectCollection = mc.GetInstances()
        Dim mo As System.Management.ManagementObject
        ' --- get OS explanation and version
        For Each mo In moc
            OS_Caption = mo("Caption")
            OS_Version = mo("Version")
            mo.Dispose()
        Next mo
        ' --- release out of memory
        moc.Dispose()
        mc.Dispose()
    End Sub

    I hope this will be helpful.


    • Edited by Ashidacchi Thursday, February 19, 2015 11:06 PM
    Thursday, February 19, 2015 11:04 PM
  • The problem is that you are using GetVersionEx to pick up the version info.  GetVersionEx is fully deprecated in Win10.  Calling GetVersionEx will always return major/minor of 6.2 or (in some cases 6.3).  It will NEVER return the expected major/minor of 10.0.

    Search this online and you will get to the "replacement" version API's that you can use in your code.

    The official version of this Win10 build is 10.0.9926.

    (NOTE:  THESE "REPLACEMENT" API'S WORK OK IN BUILD 9926, BUT THEY DO NOT WORK AS EXPECTED IN BUILDS 10009 AND 10014.  LOGIC UTILIZING THESE "REPLACEMENT" API'S NOW YIELD A RESULTING MAJOR/MINOR OF 6.3)

    • Marked as answer by crack tracker Friday, February 20, 2015 7:38 AM
    Friday, February 20, 2015 2:10 AM
  • thanks, all it needs is adding this to the manifest

    <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>

    Friday, February 20, 2015 8:28 AM
  • thanks, all it needs is adding this to the manifest

    <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>

    You can switch to using RtlGetVersion as well:

    https://msdn.microsoft.com/en-us/library/windows/hardware/ff561910(v=vs.85).aspx


    -- SvenC

    Friday, February 20, 2015 10:03 AM