Detecting Vista

Miscellaneous Forums/Win32 Discussion/Detecting Vista

For Seb:
I'm not sure how memory safe simply increasing the size of the type is as the system will be writing to memory outside the type structure.


Changing "Field szCSDVersion:Short Ptr" into 16 Longs (128/8) should take care of that ;)

EDIT: or maybe 32 if your using the Widechar version...