I'm not sure if I asked yet this and it weren't answered, but...
Always I use that function I get the error code 8 (NOT_ENOUGH_MEMORY)
and a black bitmap, and I don't know how to make it work.
When I use CreateDIBitmap with the same bitmapinfo and bits buffer the
bitmap is built correctly.
How shall I use that function neither the winapi reference neither the
books and tutorials I have say anything useful for me.
|