Date: Mon, 16 Feb 1998 09:05:12 +0200 (IST) From: Eli Zaretskii To: Myknees AT aol DOT com cc: djgpp AT delorie DOT com Subject: Re: DOS mem command crashes after running prog In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 16 Feb 1998 Myknees AT aol DOT com wrote: > /* Taking out this if block makes mem NOT crash. */ > if (install_sound(DIGI_AUTODETECT, MIDI_NONE, argv[0]) != 0) { > printf("Error initialising sound system\n%s\n", allegro_error); > exit(1); > } I don't know enough about Allegro to tell whether something isn't kosher here. Anybody? If nobody else can help, you will have to dig into `install_sound' and see what part there causes this problem. Btw, what happens if you remove the `printf' inside the if block above?