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: <37E65F15 DOT 447905E AT draconus DOT com> NNTP-Posting-Host: isr4186.urh.uiuc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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