GetProductInfo on XP

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

+3
source share
1 answer

Windows XP does not implement the GetProductInfo function. This Microsoft page provides some code for getting an OS version, including XP. Although this is not one liner!

+5
source

All Articles