Quote:
Originally Posted by HarryT
... except that you don't test for Windows versions like that. You do it by calling the "GetVersion" or "GetVersionEx" Windows APIs, and they return Windows versions as a "major" and "minor" version number, not a string. There's no possible way to confuse Windows 95 with Windows 9. Windows 95 returns a version of "4.0", Windows 98 is "4.1".
|
You may not, but the report clearly states that such code can be found in use.