[comp.windows.ms.programmer] Loading bitmaps from a file

goble@wolf.cs.washington.edu (Brian Goble) (04/05/91)

I am trying to remove a bitmap from my resource file and have my
program load it from the raw bitmap file on disk and then use
CreatBitmap().  I read the bitmap file header info successfully and
then read the bits successfully but when I display the bitmap it
is garbled (I can just barely tell that it is the bitmap I loaded).
The bitmap file is not compressed.

Anyways, is there some code around somewhere that will do this
correctly since I am having problems?  Any advice, help, or pointers
would be much appreciated...


Brian Goble	|	goble@wolf.cs.washington.edu