Quote:
Originally Posted by fjtorres
In other words, a lot of existing software, upon seeing "Windows 9" would switch to Win95/98 code and would misbehave and have to be rewritten.
|
... 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".