DrawBitmap() fails on Memory DC
Re: DrawBitmap() fails on Memory DC
Just change the array from "const char" to "const unsigned char"
Use the source, Luke!
Re: DrawBitmap() fails on Memory DC
ah ok
juste added "unsigned char" for negatives values -> ok
thanks.
and is it possible to include from ressource.rc ? lapini IMAGE "01.bmp" ....
............
juste added "unsigned char" for negatives values -> ok
thanks.
and is it possible to include from ressource.rc ? lapini IMAGE "01.bmp" ....
............
Re: DrawBitmap() fails on Memory DC
thank you, I hadn't seen your answer regarding "unsigned char" but I found anyway, but with windres ( --use-temp-file -i ) and resource.rc .....
how can this be done?
how can this be done?
Re: DrawBitmap() fails on Memory DC
You were asking for cross-platform solutions. The "include" method is the only one that works everywhere.
Resource files are WIndows only.
Resource files are WIndows only.
Use the source, Luke!