i just thought some would find this link useful

http://www.cppgames.com/forum/forum_...ID=73&get=last

When ever I use the Windows API function TransparentBlt my compiler tells me it is undefined. I have msimg32.lib in my linker list. Does any one know how to fix this?
To fix this just find your windows.h file and after the first block of code that ends with end if put this:



#ifndef WINVER
#define WINVER 0x0501
#else
#if defined(_WIN32_WINNT) && (WINVER < 0x0400) && (_WIN32_WINNT > 0x0400)
#error WINVER setting conflicts with _WIN32_WINNT setting
#endif
#endif
is this any better than putting
Code:
#define WINVER 0x0500
before
Code:
#include <windows.h>
?