[comp.windows.ms.programmer] LoadBitmap

jdb@reef.cis.ufl.edu (Brian K. W. Hook) (03/21/91)

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