I would use >= 0x0500 Earnie. --- Conrad Scott <[EMAIL PROTECTED]> wrote: > "Earnie Boyd" <[EMAIL PROTECTED]> wrote: > > MSDN says that this is Win2000 SP2 and XP only. So you need to > guard it > > with the appropriate WINVER constant. > > Sorry about my earlier querulous email: I was blissfully ignorant of > the whole WINVER system. > > My problem now is to choose a relevant version number to check > against. As far as I can dig out of MSDN, win2k has _WIN32_WINNT set > to 0x0500 and XP has it set to 0x0501. So, unlike some earlier > systems, there's no space for extra version numbers for service pack > releases. > > So, to guard a define that's only available in win2k SP2 and in XP, > which value should I use? (win2k or XP?) or is there some other value > that is available now for service pack version information? > > // Conrad > > >
===== Earnie Boyd mailto:[EMAIL PROTECTED] --- <http://earniesystems.safeshopper.com> --- --- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> --- --- Minimalist GNU for Windows <http://www.mingw.org/> --- __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
