New
#1
Windows 10 VersionHelper.h
I need to store the version of Windows running on the client computer in a variable. I'm having problems with VersionHelper.h, machines that are using Windows 10 appears as Windows 8, how do I fix this?
I'm using Visual Studio 2015, Target Platform Version: 10.0.10586.0
return of machines with windows 10 = "Windows 8"HTML Code:if (IsWindows7SP1OrGreater()) { strcpy_s(this->OS_Detect, "Windows 7 SP1"); } if (IsWindows8OrGreater()) { strcpy_s(this->OS_Detect, "Windows 8"); } if (IsWindows8Point1OrGreater()) { strcpy_s(this->OS_Detect, "Windows 8.1"); } if (IsWindows10OrGreater()) { strcpy_s(this->OS_Detect, "Windows 10"); }
I need more clarity, any help here is appreciated..
Thanks
Siva Prasad
src:stackoverflow