yolo
yolo

Reputation: 2795

GetProductInfo on an XP system

GetProductInfo(API function) seems to crash on XP Professional, while it works perfectly on Windows 7 Ultimate. What is an alternative to it?

Upvotes: 3

Views: 1317

Answers (1)

Matt Wilko
Matt Wilko

Reputation: 27342

Windows XP does not have GetProductInfo function implemented. This microsoft page gives some code to get the version on OS's including XP. Although it is not a one liner!

Upvotes: 5

Related Questions