From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: a few questions... Date: Thu, 11 Sep 1997 14:59:31 -0500 Organization: Cornell University Lines: 13 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34184DA3.2CD9@cornell.edu> References: <5v87rt$2j4$1 AT kurica DOT wt DOT com DOT au> <0Zxy$AA7IBG0EwOE AT jenkinsdavid DOT demon DOT co DOT uk> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk David Jenkins wrote: > I think Win95's DPMI sees the illegal calls and tells the program to > forget it and carry on. BUT Dos isn't clever enough to do that, so it > crashes. it is the other way around. win95 is braindead, and will let most pointer bugs go undetected. cwsdpmi catches (AFAIK) illegal dereferences etc. so you know there is something wrong. that is a GOOD thing. if you think your programs should be able to access all sorts of memory that they are not supposed to, think again. -- Sinan