🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1967

Loading bitmaps from a file (not a resource)

#1967
From: Brian Goble
Date: Thu, 04 Apr 1991 20:12
14 lines
1198 bytes
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
Technical Details
Message-ID: <1991Apr4.201225.11056@beaver.cs.washington.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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