delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/15/20:35:53

Message-ID: <13288F4408ADD11186FF0060B06A43130334138D@MSGWAW1>
From: =?iso-8859-2?Q?Wojciech_Ga=B3=B1zka?=
<wojciech DOT galazka AT polkomtel DOT com DOT pl>
To: "'Eli Zaretskii'" <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: ODP: loosing DOS memory by Windows NT
Date: Wed, 15 Mar 2000 17:04:36 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA18187
Reply-To: djgpp AT delorie DOT com

Hi,

I thought I could catch an event in NTVDM generated when an application
terminates and mark selectors used by that application as 'unused'

There is some information how to do this for  16 bit applications. Yet I
have to find a way how to do this for 32 bit protected mode applications
produced by djgpp. 

Wojciech Gałązka
MCSE, MCDBA



> ----------
> Od: 	Eli Zaretskii[SMTP:eliz AT is DOT elta DOT co DOT il]
> Wysłano: 	15 marca 2000 09:46
> Do: 	Wojciech Gałązka
> DW: 	djgpp AT delorie DOT com
> Temat: 	Re: loosing DOS memory by Windows NT
> 
> 
> On Tue, 14 Mar 2000, Wojciech Galazka wrote:
> 
> > Perhaps it is possible to force to free selectors that were used by
> > a a DPMI program and that program have just finished executing. If
> > this were possible would it help?
> 
> This issue has come up before, you should be able to find it by
> browsing the archives of djgpp and djgpp-workers.
> 
> In a nutshell, the problem is with the CS, PSP and a couple of other
> special selectors which cannot be freed by the program itself, since
> its code uses them up until the last moment.  This must be done by the
> DPMI host when the client exits.
> 
> 

- Raw text -


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