Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!milton!uw-beaver!wolf.cs.washington.edu!goble From: goble@wolf.cs.washington.edu (Brian Goble) Newsgroups: comp.windows.ms.programmer Subject: Loading bitmaps from a file (not a resource) Message-ID: <1991Apr4.201225.11056@beaver.cs.washington.edu> Date: 4 Apr 91 20:12:25 GMT Article-I.D.: beaver.1991Apr4.201225.11056 Sender: news@beaver.cs.washington.edu (USENET News System) Reply-To: goble@wolf.cs.washington.edu (Brian Goble) Organization: University of Washington Computer Science Lines: 14 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