Reputation: 5161
How do you check the windows version in Win32 at runtime?
Upvotes: 16
Views: 9478
Reputation: 6849
GetVersionEx has been deprecated. We will need to use Version Helper functions.
Upvotes: 2
Reputation: 339786
Use the GetVersionEx() or VerifyVersionInfo() functions.
GetVersionEx()
VerifyVersionInfo()
Upvotes: 21