Comment on Learn how to count with Bill Gates
Saganaki@lemmy.one 6 months ago
The reason there isn’t a Windows 9 is because there was a common test for windows versions that went something like this:
std::string winVer = getWinVerStr(); if (winVer.find(“Windows 9”) != -1) { // This is windows 95 or 98 }
dan@upvote.au 6 months ago
This is a myth. Windows version numbers are numbers, not strings. Windows 95 was actually 4.0. The Win32 API doesn’t even havea method that returns the string “Windows 95”!
Actually it’s not entirely a myth - there was some Java library that did this - but it wasn’t widespread at all, and certainly not standard.
Saganaki@lemmy.one 6 months ago
WMI was introduced in XP (I think? Was it later?) and asking WMI for the version string was pretty common.
Gumbyyy@lemmy.world 6 months ago
Lmao they only considered 95 > 98 > ME to be minor version updates? They didn’t even deserve their own major version? Although it’s probably pretty accurate, I remember 98 basically just being a slightly updated 95. I never used ME so no idea with that. It’s still pretty funny though.
bitwaba@lemmy.world 6 months ago
Close but not exactly. Windows 5 was 2000, Windows 5.1 was Windows XP.
But it’s more confusing than that because of the two different lines: the MS-DOS based line which covered Windows 1.0 through ME, and the multi-user NT line for workstations and servers which adopted the same version numbers as the currently released MS-DOS line that was available at the same time. I.E. windows NT 3.1 used the windows 3.1 UI from the DOS line, but was New-Technology instead of DOS under the hood. NT4 used the DOS based win95 UI, and NT5 was Windows 2000 also with the familiar Windows 9x UI. Everything since XP has been exclusively NT under the hood.
dan@upvote.au 6 months ago
Thanks for the correction :)