
question about playing midi "resource".
I couldn't play midi file this way.
The return value is always false.
PlaySound is waveaudio function, could it play midi?
If it does, then I can use SND_RESOURCE...
Quote:
>Xiaoting,
>//don't forget to add mmsystem.lib to
>// the import settings of your project
>#include <mmsystem.h>
>PlaySound("C:\\myfile.mid",NULL,SND_FILENAME | SND_ASYNC);
>> I got a question about playing midi "resource".
>> I could play wav "resource" by PlaySound.
>> But I wonder if there exists a function like that can play midi
>> "resource"?
>Jim [VC/MFC MVP]
>To send mail, change spam-me-not to msn