delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/16/02:06:51

Date: Mon, 16 Feb 1998 09:05:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Myknees AT aol DOT com
cc: djgpp AT delorie DOT com
Subject: Re: DOS mem command crashes after running prog
In-Reply-To: <fa794f58.34e7c7f4@aol.com>
Message-ID: <Pine.SUN.3.91.980216090151.339E-100000@is>
MIME-Version: 1.0

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019