Qt can do it, I believe, (class QSysInfo) but I'm not sure how. Maybe see if you can find the implementation source code for that class (and, specifically, the implementation for const WinVersion QSysInfo::WindowsVersion())
Qt can do it, I believe, (class QSysInfo) but I'm not sure how. Maybe see if you can find the implementation source code for that class (and, specifically, the implementation for const WinVersion QSysInfo::WindowsVersion())
And yet it has enumerations for Windows 95... QSysInfo Class | Qt Core 5.5
Thanks for the pointer Hodor; I shall have a look into QSysInfo.
Would it not be possible to use preprocessor directives to selectively compile it where appropriate? I haven't actually looked into the class yet, so I don't really know what I'm talking about, but I will do my research tomorrow.