Skip to main content
gamedev.net
🔒 Locked

loading bmp?

Started by eiro Oct 20, 2000 at 3:33 AM 2 replies 600+ views
Original Post
eiro
eiro
I compiled and linked DDraw7 example (ddex4.cpp) and done, nothing been changed. But when I ran it, it had error on loading bmp. Did I MISS someTHING?
e i r o
xstreme2000
xstreme2000
I can''t rember if ddex4 uses uses bitmap from its resources or if it loads them from file. Check this and if the bmps are loaded from file check that the files are in the right place
i.e. the programs working directory
eiro
eiro
Im sure there .bmp loaded into .exe, but in my hand there is no .bmp loaded..
e i r o
LilBudyWizer
LilBudyWizer
You need the All.bmp from the source directory. With the platform SDK it is Samples\Multimedia\DDraw\Src\DDex4. If you look at the .rc file in the same directory you will see it includes all.bmp with a resource id of ALL.
Keys to success: Ability, ambition and opportunity.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.