problem of midiOutClose, midiOutOpen,.. where to get mmsystem.h and windows.h

hi,
Hi, I wish to use midi file, but there are some error happened when i called some midi function like midiOutClose, midiOutOpen, midiOutReset, and midiOutShortMsg. I think it's because i didn't include the library of the midi function. i check the msdn library, by using those function i only need to #include<windows.h> and #include<mmsystem.h>. Then i goto the "include" folder to check this 2 files, i found that this 2 files not exist in the "include" folder, just wondering when can i get these 2 files



Answer this question

problem of midiOutClose, midiOutOpen,.. where to get mmsystem.h and windows.h

  • George.

    hehe, i posted the same question in gamedev at same time also hehehe.... so migrate the answer from there to here

    this 2 files in ..../Vc7/PlatformSDK/Include

    and i forgot to link the Winmm.lib also




  • PanzerDivisionMarkus

    Didn't you just ask this question in the GameDev forums If so, you're question has already been answered by yourself


  • problem of midiOutClose, midiOutOpen,.. where to get mmsystem.h and windows.h