3 ms·
I don't find this search reliable at all. There are a lot of completely unrelated results. I couldn't find any related match on the 2.000+ Python results, for e
by gjulianm 12y ago
I don't find this search reliable at all. There are a lot of completely unrelated results. I couldn't find any related match on the 2.000+ Python results, for example. Same with C++. This is being publicized as "proof" of the rumor but it's not representative at all.
The Windows C/C++ API returns a structure with version numbers [1], same with the C# one [2]. Other languages just wrap the native C API call, GetVersionEx.
The most troubled framework is Java: because of some strange design decision, you can only get the version as a string (see [3]), and that makes impressively easy for programmers to screw up version checks. However, as other commenters have said, those apps could run on compatibility mode and Windows would solve the issue itself instead of completely changing an operating system's name.
1: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms72...
2: http://msdn.microsoft.com/en-us/library/system.environment.osversion%28v=vs.110%29.aspx http://msdn.microsoft.com/en-us/library/system.environment.o...
3: http://stackoverflow.com/questions/228477/how-do-i-programmatically-determine-operating-system-in-java http://stackoverflow.com/questions/228477/how-do-i-programma...
- cobalt 12y agoNever underestimate a programmers ability to fuck shit up
- micampe 12y agoI'm sure the API provides the information, that doesn't stop developers from doing crazy things. The rumor, whether true or false, is actually just more evidence of how Microsoft is devoted to binary compatibility. It's a funny bit, yes, but doesn't say anything bad about MS at all.