William A. Rowe, Jr. wrote:
Can't we do+ else if (osvi.dwMajorVersion >= 6) { + *dwVersion = OS_VERSION_VISTA; for now (or simply 'else') so that this isn't instantly broken by the next version, irrespective of any changes required?
Sure we can. Since we are only interested in the post NT4 we can even make test for >= 5 However, who knows what future versions will came up with :) Regards, Mladen.
