Hacker News new | past | comments | ask | show | jobs | submit login

GetVersionEx is broken from Windows 8.1 onwards, they want developers to query the OS for functionality rather than check a version number. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms7...



Like this? https://msdn.microsoft.com/en-us/library/windows/desktop/ms7... Are they seriously deprecating a vital API and replacing it with a few vague suggestions on what patterns might somewhat reliably indicate whether a feature exists or not?

This anti-pattern in API design is annoying enough in HTML5. Awesome to see it's now leaking into the OS world.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: