HI all, There is one problem with VC++.The minor number and major number for "Vista" and "Windows 2008 server" are same.So, in order to distinguish between the two wProductType should be used.But winbase.h packaged with vc++ 6.0, wProductType field is not available. My question is ... Is there any other way of getting the Proper OS name ?. Thanks in advance...
This is what i have done. But your code does not mention how i will differentiate between Vista and Wind 2008 server through some other method . since productid is not supported in the OSVERSIONINFOEX.