From: George Foot Newsgroups: comp.os.msdos.djgpp Subject: Re: Playing Midi in allegro Date: 21 Nov 1997 04:51:40 GMT Organization: Oxford University, England Lines: 17 Message-ID: <65340s$qu0$1@news.ox.ac.uk> References: <34738705 DOT 1F8CB3B4 AT primenet DOT com> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Thu, 20 Nov 1997 18:03:12 -0500 in comp.os.msdos.djgpp Carolyn Kelly-Pajot wrote: : int main(void] ^--- typo :) : { : MIDI *the_midi = load_midi("mission.mid"); You should call allegro_init before any other Allegro functions, and it could be argued that you should also initialise the sound system before loading MIDI files (although the latter is a weaker argument). : read_key(); // pauses utill you hit a key `readkey' is all one word. -- george DOT foot AT merton DOT oxford DOT ac DOT uk