On 06/06/2011 11:02 AM, Juan Lang wrote:
GetVersionEx() is used in GlobalMemoryStatus() also, after these are in I'll pull it out and make it static, and then just do it once and use it for both.Ha! Quite right, thanks!If that's what you want, then an easier check is to use GetVersion() rather than GetVersionEx. (GetVersion()& 0x80000000) is true under Win9x, false under any NT version. See many checks like this in e.g. kernel32. --Juan
