I am trying to call the TransparentBlt function
I should just be able to link to msimg32.lib and be able to use the function but instead
I get two error messages
1. implicit declaration of function TransparentBlt( )
2. Linker error file format not recognised
Error 2 is probably because I am linking to a Borland version of msimg32.lib as i cannot find it in my Dev Cpp
library files
From research I have discovered that TransarenBlt () is declared in wingdi.h which is included in windows.h
A search of wingdi.h in the dev cpp include folder shows that TransparentBlt() is not to be found there
but it is declared in Borland's version of wingdi.h
I could try to compile the code using borland's compiler but I want to stick with dev cpp. i like it.
My hunch is that updating my wingdi.h file (and others) will solve the problem but I do not have the experience to
truly pin the problem down. Can anyone help?
I am using Dev Cpp ver 4.1
thanks for any help |