why console log shows older version of windows?
#11
(08-04-2015, 01:23 PM)DaMan Wrote: Here's an Orphis build with added to the manifest.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>

To any interested developer save that to a .manifest file and add to project.

why is that manifest needed anyway ? we could just do the conditional check to output it on log.

Code:
if ( osvi.dwMajorVersion == 10 )
    retval += L"Windows 10 ";
We're supposed to be working as a team, if we aren't helping and suggesting things to each other, we aren't working as a team.
- Refraction
Reply

Sponsored links

#12
GetVersionEx will only report up to 8.0 without it.
Reply
#13
(08-05-2015, 12:55 PM)DaMan Wrote: GetVersionEx will only report up to 8.0 without it.

Oops, I probably need to add this then. Tongue2
We're supposed to be working as a team, if we aren't helping and suggesting things to each other, we aren't working as a team.
- Refraction
Reply




Users browsing this thread: 2 Guest(s)