Reply-To: "Sean Middleditch" From: "Sean Middleditch" Newsgroups: comp.os.msdos.djgpp Subject: Confusinbg error Date: Tue, 25 Aug 1998 14:35:05 -0400 Lines: 26 Organization: AwesomePlay Productions NNTP-Posting-Host: usr17-086.provide.net Message-ID: <35e30502.0@news.provide.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Dear Allegro Programmers, I have recently added MIDI and digital sounf FX support to my current project using Allegro. However, I seem to be having a problem that occurs only when using MIDI. For some reason, occasionally when running my program, it instantly goes into the shut down code. When it reaches the part that calls destroy_midi for all MIDI I have loaded into RAM, I recieve a general protection fault. symify offered no help. I all I found with it was that load_midi is called, then djgpp_exception_handler ( I assume that means something's happening at load_midi ), then some calls with no names, then my shutdown function, and the last call before the general protection fault is destroy_midi. Exactly what is going on here!?! Sean Middleditch ( the confused programmer ) of AwesomePlay Productions http://www.angelfire.com/biz/aweplay aweplay AT hotmail DOT com