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...
|
Go4Expert Founder
|
![]() |
| 31May2009,21:42 | #2 |
|
Go4Expert Member
|
|
| 1Jun2009,07:46 | #3 |
|
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.
|
|
Go4Expert Founder
|
![]() |
| 1Jun2009,09:56 | #4 |
|
Probably because when I wrote I did not had that OS and so table probably needs upgrade.
|


