Simple Question about Windows

Started by
3 comments, last by drdarkon 21 years, 9 months ago
Hey I was wondering a simple question. I remember using some sort of Windows function to play a sound or a piece of music... What was that function, what libraries, includes, etc do I need and what does each one do? For example isn''t there one function to play a song and one to stop that song? Thanks for your help - Jesse Barksdale - Say What? studios
Thanks
Advertisement
Oh yeah, I believe it played MIDI files.

- Jesse Barksdale
- Say What? Studios
Thanks
I just need the function name.. that is all..

- Jesse Barksdale
- Say What? Studios
Thanks
The API functions for playing MIDI files all begin with midi. midiOutOpen is one of them. The prototypes are declared in mmsystem.h, the library to link with is winmm.lib.
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
PlaySound(......)
i think

"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T

This topic is closed to new replies.

Advertisement