i just thought some would find this link useful
http://www.cppgames.com/forum/forum_...ID=73&get=last
Quote:
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?
is this any better than puttingQuote:
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
beforeCode:#define WINVER 0x0500
?Code:#include <windows.h>