delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/21/11:18:42

Date: Sun, 21 Mar 1999 10:57:47 -0500
Message-Id: <199903211557.KAA04700@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <008d01be73a8$2e619680$02e6cdc3@home.net.pl> (steve@Home.pl)
Subject: Re: using farptr farpeek etc
References: <F1138FCB1C61D211AA690004AC6289EA9BFE12 AT ntss15 DOT stgt DOT cenit DOT de> <199903191839 DOT NAA02303 AT envy DOT delorie DOT com> <008d01be73a8$2e619680$02e6cdc3 AT home DOT net DOT pl>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Can you tell me why under NT application can't create 4GB data
> segment and use nearptr feature? Under dos4gw & watcom this works
> fine...

NT itself is preventing it.  It won't allow you to do something that
may violate the integrity and/or security of the OS.

The best you can do under NT is create a *second* segment for your DOS
memory, and figure out the differences between the linear addresses of
the two segments, and use that for nearptrs.

- Raw text -


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