From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: How assign to NULL POINTER Date: Tue, 19 Nov 1996 23:28:37 -0800 Organization: Three pounds of chaos and a pinch of salt Lines: 23 Message-ID: <3292B325.26A8@cs.com> References: <32926C6D DOT 7FEBE86F AT alcyone DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp107.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Erik Max Francis To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Erik Max Francis wrote: > > Eli Zaretskii wrote: > > > What is your DPMI host? If it's not CWSDPMI or 386Max, then you lose: > > all of the rest don't disallow null pointer dereference, but rather let > > you get away with it. > > You're kidding. Nope. It's a DPMI 1.0 feature only, and most DPMI hosts (Windoze included) don't bother to implement anything more than 0.9. CWSDPMI included it for several reasons that I don't quite remember at present, but the gist of it is that if you want to catch NULL dereferences, you MUST run using cwsdpmi or 386Max. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------