> 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