Windows 9 being unveiled on Sept. 30

Pages: 1... 345
Ahaha, Windows 10? Is this serious? Thanks for the chuckle, Microsoft.
1
2
3
4
if(osName.startsWith("Windows 9")) {
    /*windows 95/98 code*/
}


I've heard that's the reason for it
... if that's how version checking for the OS is done, then something is horribly wrong.
Well, from what I read it was 3rd party that had code like that in their codebase.
Wow, thats amazingly hilarious. It just goes to show that arbitrary naming decided by a marketing department doesn't always help in the long run.
> if that's how version checking for the OS is done, then something is horribly wrong.

That is certainly not how it is done.

Compile time optioning:
http://msdn.microsoft.com/en-us/library/aa383745%28VS.85%29.aspx

Run time optioning:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972(v=vs.85).aspx

Windows 10 will in all probably be version 7.0 of Windows. (Windows 8.1 is Windows version 6.3).
lol
Topic archived. No new replies allowed.
Pages: 1... 345