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