delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/20/20:24:04

From: locke AT mcs DOT net (Peter Johnson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Too many conventional blocks?!
Date: Tue, 21 Sep 1999 00:13:38 GMT
Organization: BiLogic Productions
Lines: 15
Message-ID: <37e6cc96.18910109@news.cso.uiuc.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990913130741 DOT 8923E-100000 AT is> <37E65F15 DOT 447905E AT draconus DOT com>
NNTP-Posting-Host: isr4186.urh.uiuc.edu
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 20 Sep 1999 19:21:41 +0300, Niko Salminen
<wolfram AT draconus DOT com> wrote:

>I tried to allocate about 32 bytes. However, the error disappeared when I
>started using a large (about 20 kB) memory block for all the cases I
>needed conventional memory. Is there a limit for how many
>_go32_dpmi_seginfo blocks I may use? (That would be pretty lame)

Actually, there _is_ a limit, but I don't know if that's what you're
hitting.  DPMI sets a maximum number of allocated DOS memory blocks--
are you checking for a "Descriptor Unavailable" error coming back?

Peter Johnson
locke AT mcs DOT net

- Raw text -


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