hi, I have used LoadImage() to load a bitmap as HBITMAP. If I use SelectObject() to attach it to an HDC, and then BitBlt() it to the screen, that works fine. I need an array that would be compatible with the one produced by CreateDIBSection(). I have tried GetBitmapBits(), and also GetDIBits() I was able to get it to compile, but ended up with an error when I tried to read from the array. I created a breakpoint and tried to look at the array, and it says "0x000000" when I hover the mouse over it.
can anyone help me out?