How can I read and play a MIDI in Win32?

I'm trying to get a MIDI to play in the background of a game that I am writing in Win32, but I can't figure out how to play it. I figured out how to instantly play waves thanks to Blackdeth, but MIDI eludes me. Is there a built-in Windows function to play them or do I have to read up on the file format and try writing my own program (or dll for the main one in this case) that will read and play them in the background while the game is up? Thanks for the help.



  • it should be possible, with MCI (Media Control Interface). anyway, i've never done it, so i can't really tell you how to do it.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!