delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/12/06:52:34

Date: Wed, 12 Mar 1997 13:35:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: 2 questions: 1)Codewright 2)Windows NT
In-Reply-To: <Pine.HPP.3.95q.970312100925.27109B-100000@newton.mathematik.tu-chemnitz.de>
Message-ID: <Pine.SUN.3.91.970312133358.4353A-100000@is>
MIME-Version: 1.0

On Wed, 12 Mar 1997, Robert Hoehne wrote:

> I don't know exactly if the DOS memory is somewhere freed at
> startup (the crash was already at startup), but for installing
> the mouse callback function I have to allocate some DOS memory
> and to lock many variables and functions, probably NT doesn't
> like also allocating (at least in many small chunks) DOS memory.

No, as far as I know the allocate call succeeds, but when you free DOS
memory, you crash.  It can be demonstrated with a simple test program that
allocates a small DOS buffer, then frees is. 

- Raw text -


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