Ah, you may need to set WINVER in stdafx.h#define WINVER 0x0500 // Win2K, MEor#define WINVER 0x0501 // WinXP