Hello, I am trying to read a bmp header this way:
typedef struct _SBMP3256
{
BITMAPFILEHEADER bmfHeader;
BITMAPINFOHEADER bmiHeader;
RGBQUAD colors[256];
}BMP3256,*PBMP3256;
Open in new window
but this is what I get:
{biSize=9830400 biWidth=9830400 biHeight=65536 biPlanes = 32 ...
And the same code works in another program.