Oct. 15, 2007
7:18 a.m.
Gerald Pfeifer wrote:
} if (!HIWORD(lpszStructType)) { - switch (LOWORD(lpszStructType)) + switch ((DWORD)lpszStructType)
You're just passing the problem on to people doing 64-bit builds. You should use DWORD_PTR or use LOWORD everywhere, like you suggested. -- Rob Shearman