Quote:
Originally Posted by HarryT
Precisely. The Windows 95 version of my astronomy software (highly complex architecturally, multi-threaded, etc) runs absolutely fine nearly 20 years later on Windows 8.1. Why? Because I wrote it properly and followed all the rules.
|
I agree, I am just saying, "don't" is not the same as "shouldn't".
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".
|