www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/20/05:14:39

From: "John M. Aldrich" <fighteer AT cs DOT com>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 961114172108 DOT 8432G-100000 AT is> <32926C6D DOT 7FEBE86F AT alcyone DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp107.cs.com
Mime-Version: 1.0
To: Erik Max Francis <max AT alcyone DOT com>
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.          |
---------------------------------------------------------------------

- Raw text -


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