Date: Wed, 27 Oct 1999 09:47:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: yogin <yogin AT polbox DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Allegro's GUI hangs keyboard in W95 dos-box
In-Reply-To: <aeoR3.36218$Tk.644151@news.tpnet.pl>
Message-ID: <Pine.SUN.3.91.991027094710.27176H-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk


On Tue, 26 Oct 1999, yogin wrote:

> And a small note: I cannot locate any suspicious location
> (with printf()), because keyboard hangs when I quit my program. Keyboard in
> dos-box is not accesible from that moment. It seems like Allegro didn't
> remove its keyboard handler.

You will be much better off debugging these problems in plain DOS,
because CWSDPMI is much more sensitive to programs that fail to unhook
interrupt handlers than Windows is.  You will usually get some kind of
doagnostic message when the system wedges.  Post that message here, if
you can't figure it out (section 12.2 in the FAQ is the recommended
reading to try to figure it out).