Problem with Bitmaps

Started by
2 comments, last by Phantasm 23 years, 10 months ago
I''m trying to write a function to load a bitmap (based on knowledge from Tricks of the Windows Game Progarmming Gurus). My only problem is, in TOTWGPG, LaMothe states that bfType (in the file header) should be BITMAP_ID. The Platform SDK SEEMS to be saying that it should be BM. Whenever I try to use either, the compiler gives me an error (" ''BITMAP_ID'' : undeclared identifier"). I cannot figure out how to make this work. BTW, I say that the SDK SEEMS to say it should be BM because it''s really not very clear. P h a n t a s m "I'd feel safer if the helicopter had an ejection seat."
Phantasm
Advertisement
have you defined bitmap_id as #define bitmap_id 0x4D42 ?
BM is correct...
I suppose I'll try defining the bitmap_id as 0x4D42, since BM isn't working. Huh...that's Microsoft for you.

P h a n t a s m
"I'd feel safer if the helicopter had an ejection seat."

...Okay...#define BITMAPID 0x4D42 worked. Thanks!

Edited by - Phantasm on June 27, 2000 8:19:16 PM
Phantasm

This topic is closed to new replies.

Advertisement