4 ms·
None of the native APIs return the version number as a string, and to see a version > Vista you need to declare the minimum supported version anyway. But I can
by captainmuon 5y ago
None of the native APIs return the version number as a string, and to see a version > Vista you need to declare the minimum supported version anyway. But I can see this being a problem in some scripted languages, maybe.
Personally I believe they wanted to avoid Windows NEIN, or it's some marketing BS to jump a number and pull up to OS X (10).
- 0xcde4c3db 5y agoI think that concern was mostly apocryphal, but such things demonstrably do exist [1]: } else if (osName.startsWith("Windows")) { if (osName.indexOf("9") != -1) { jvm = WINDOWS_9x; [1] https://github.com/Elblonko/kepler/blob/48618dc2233781656e63c40f1f2b99123b8bd396/ptolemy/src/ptolemy/actor/gui/BrowserLauncher.java#L653 https://github.com/Elblonko/kepler/blob/48618dc2233781656e63...