"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.
Earnie, I'm a bit confused about these WINVER guards. The use of a new Win2000 SP2 and XP only flag like this is not a compile-time but a run-time issue, i.e. I should be able to compile a program using such a flag on any platform and the application should act check at run-time whether the flag is supported on whatever it is running on. So, to use such a flag in a program, it seems I would need to add a #define WINVER into the compilation to get access to the flag and then add code (as I have) to check the windows version at run-time when using the flag. Given this, it doesn't seem much point having such WINVER guards. Am I missing something here? // Conrad
