Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you use bitmaps, wav files, and midi files?

Status
Not open for further replies.

sandmann999

Programmer
Apr 28, 2001
52
US
Mostly interested in the bitmap loader.

What I'm really looking for (besides the code) is how the code works.

I have two bitmap loaders, one is about 5 lines long and the other is about 200 lines long. The 200 line code works pretty well and the 5 line code doesn't work at all (even though they swore they used it all the time.) But for some reason, the loader that was 200 lines long could only load bitmaps of certain dimensions, like an 80 pixel by 60 pixel. If these dimensions were off, the picture would become distorted.
Does anyone have a short bitmap loader? And please (more interested in this than getting the code), how does it work?

And if you have time, can you give me the code for wav files and midis? I use QB45.

Thanks a ton!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top