Date: Tue, 8 Apr 1997 14:05:48 +0300 (IDT) From: Eli Zaretskii To: nitehawk91 AT aol DOT com cc: djgpp AT delorie DOT com Subject: Re: Strange behaviour. Allegro & Cwsdpmi, please help. In-Reply-To: <19970407160700.MAA20976@ladder01.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 7 Apr 1997 nitehawk91 AT aol DOT com wrote: > If I run my program either in a Win95 Dos Box or under DOS 6.22 > using PMODETSR, it works fine. If I use cwsdpmi instead of pmode > under Dos 6.22 the programm aborts. I get a message like : > Allegro shutting down > exiting due to SIGSEV...and so on. Did you try the advice in section 9.1 of the FAQ (look near its end)? It tells you how to make sure this kind of problems is due to a wild pointer dereference in your program, which CWSDPMI catches while most other DPMI hosts don't. Once you are sure that is the problem, you will need to debug your code to see where exactly does the bug happen.