Article View: comp.windows.ms.programmer
Article #1777Re: LoadBitmap help resummarization of help needed
From: Curt Johnson
Date: Thu, 21 Mar 1991 21:26
Date: Thu, 21 Mar 1991 21:26
26 lines
1306 bytes
1306 bytes
In article <27518@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes: Program dies during: | hBitMap=LoadBitmap(hInst,"boom"); | 2. For some reason, substituting in a standard Windows bitmap and using: | | hBitMap=LoadBitmap(NULL,"OLD_BITMAP"); // OLD_BITMAP for demonstrative | // purposes Shouldn't that be: hBitMap=LoadBitmap(NULL,IDI_APPLICATION); //no quotes for standard Windows bitmaps | Anyway, I can't seem to find the problem still. My RC file has the | following as the last line: | | boom BITMAP BOOM.BMP I have two guesses: 1. If boom is #defined as anything you will have a problem. 2. If the last line in your .RC file is not followed by a linefeed it is possible that is is being ignored (if RC.EXE is not written well). Curt Johnson == curt@cctb.wa.com
Technical Details
Message-ID:
<bjs4g8ti2@cctb.wa.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!sumax!quick!cctb!curtReferences:
<1991Mar19.103524.8474@cs.ubc.ca> <27518@uflorida.cis.ufl.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!sumax!quick!cctb!curt From: curt@cctb.wa.com (Curt Johnson) Newsgroups: comp.windows.ms.programmer Subject: Re: LoadBitmap help resummarization of help needed Message-ID: <bjs4g8ti2@cctb.wa.com> Date: 21 Mar 91 21:26:27 GMT References: <1991Mar19.103524.8474@cs.ubc.ca> <27518@uflorida.cis.ufl.EDU> Organization: Chemical Computer Thinking Battery, Redmond, WA Lines: 26