From: tackmast AT aol DOT com (TackMast) Newsgroups: comp.os.msdos.djgpp Subject: MIDIs not working Date: 13 Mar 1998 21:12:55 GMT Lines: 24 Message-ID: <19980313211201.QAA23423@ladder03.news.aol.com> NNTP-Posting-Host: ladder03.news.aol.com Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk okay, i put this message up and (stupidly) didn't put in the code!! so, my problem is i can't get MIDI playing programs to work and here is the code. #include "stdio.h" #include "allegro.h" main () { int allegro_init(); int install_keyboard(); int install_timer(); MIDI *rok; rok = load_midi("Rockem.mid"); detect_midi_driver(MIDI_AUTODETECT); install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL); set_volume(255, 255); play_midi(rok, TRUE); if(readkey()){ destroy_midi(rok); return 0; } } please help!!