Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You won't be able to compile with the function imported using the modern lib (because it doesn't exist on XP) but you can conditionally link it at runtime with LoadLibrary/GetProcAddress.

If IsWindows... doesn't work then you can use the VerifyVersionInfo function directly.



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

Search: