I've got the Version API Helper functions running and that lets me do x if in y but how is it I set Visual Studio to ignore code if the target operating system does not support it, the issue being:
ChangeWindowMessageFilterEx
I need it for Windows 7 and above but when compiling the application the function gets included so wont run on XP.