Coder's Guild Mailing List

DirectMusic

Posted by Jimi345@xxx.xxx on 1999-11-03

Ok, this is very weird, I set up everything I could possibly need (according 
to the tutorial for playing a midi file using DirectMusic) and then I make 
this call:

if ((m_lpdmp->PlaySegment(ptrmidi->m_lpdms, 0, 0, &(ptrmidi->m_lpdmst) )) != 
S_OK)
        throw (BloodSoundException("MIDI file could not be played."));

alright, so I make the call, check for error, and when I run the program, the 
music does not play, but I don't get an error code back.  Any help would be 
appreciated

Jeremy