🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

LoadBitmap() problem

#1826
From: Brian K. W. Hook
Date: Thu, 21 Mar 1991 13:55
26 lines
1562 bytes
Well, I have received many replies about my problem using LoadBitmap(), and
have since tried all of the following:

1.  Switching memory models (Small, Medium, and Large)
2.  Casting (LPSTR) to LoadBitmap()
3.  Using MAKEINTRESOURCE()
4.  Floating point on/off/fast/emulation
5.  Using WRT and Paintbrush on the .BMP to make sure it is a DIB.

I have officially begun running out of ideas.  I have looked at the code
over and over and over, and I don't think that it would be something
obvious since the compiler is now set with ALL warnings on...and I still
only get two (using default DEF file and lpCommandLine declared but not
used).

I am going to try one or two more things, and after that I am going to
upload the sources to my UNIX account from my PC.  I will post then and
email the sources to whoever wants them (WINANIM.C, WINANIM.H, WINANIM.PRJ,
WINANIM.RC, and BOOM1.BMP).

In case you didn't know, all I want is a program that allows you to run an
animation, much like the animator with hDC FirstApps.  The animation will
be a script of .BMP files.  However, I can't even load a bitmap to start
the animation (via BitBlt()).

Brian
Technical Details
Message-ID: <27553@uflorida.cis.ufl.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!reef.cis.ufl.edu!jdb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!reef.cis.ufl.edu!jdb
From: jdb@reef.cis.ufl.edu (Brian K. W. Hook)
Newsgroups: comp.windows.ms.programmer
Subject: LoadBitmap() problem
Message-ID: <27553@uflorida.cis.ufl.EDU>
Date: 21 Mar 91 13:55:24 GMT
Sender: seeger@uflorida.cis.ufl.EDU
Organization: UF CIS Dept.
Lines: 26