just out of interest....
returns '8'. anyone know what that means? or how to turn it into something useful? i'm using the following code:
on other thing... when creating a CBitmap, you specify the number of color planes... in this case it's 1, originally i was trying to use 3 or 4, RGB and RGBA respectively..... but this didn't work and the documentation says to set number of color planes to 1 if you want a color bitmap... i don't understand this.... can anyone explain? also it might be worth double checking that '32' is OK for the number of bits per pixel.... anyone?
if(!bmp->CreateBitmap(width, height, 1, 32, bmp_pixels))
DWORD dw = GetLastError();
sprintf(szBuf, "bmp load failed: GetLastError returned %u\n", dw);
MessageBox(NULL, szBuf, "Error", MB_OK);