I'm attempting to compile a screensaver using Visual C++ 2008 Express Edition SP1 on Windows XP. I get a runtime error: "The procedure entry point ChangeWindowMessageFilter()
could not be located in the dynamic link library USER32.dll." As far as I can tell, this is because Microsoft botched the scrnsave.lib library included in VS 2008 to call a Vista-specific function, which fails on XP because the function does not exist.
Defining WINVER
doesn't seem to do anything.
How can I work around this?