2 ms·
Microsoft really went above and beyond for compatibility - sometimes too much beyond. We had a security auditing tool. When it ran on Windows, it tried to det
by AnimalMuppet 6y ago
Microsoft really went above and beyond for compatibility - sometimes too much beyond.
We had a security auditing tool. When it ran on Windows, it tried to determine which version of Windows it ran on. It broke on a new version of Windows, because Windows reported a version that the security tool didn't know about. So Microsoft "fixed" it. They had a list of programs that, if the running program was on that list, Windows would lie and report itself as being the previous version. (I think this was Windows 2003 reporting as Windows 2000.)
Unfortunately, that meant that we couldn't fix it. The right fix would be for us to update our code to know what Windows 2003 was, so that we could put Windows-2003-specific checks in. But we couldn't do that, because Windows would never report itself to us as Windows 2003!
I think we got around it by changing the name of the application before trying to determine the Windows version, and then changing it back...