delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/09/16:26:16

From: Niko Salminen <wolfram AT draconus DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Allocating dos memory fails
Date: Thu, 09 Sep 1999 22:01:59 +0300
Message-ID: <37D80427.CA61678F@draconus.com>
NNTP-Posting-Host: m108m6hel.dial.kolumbus.fi
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a problem with my MSCDEX routines: Most of my
_go32_dpmi_allocate_dos_memory() calls work just fine, but in one
function, it returns me a non-zero (an error) and allocates nothing. I
am doing the call like this:

_go32_dpmi_seginfo myinfo;
info.size=1;
_go32_dpmi_allocate_dos_memory(&info);

In all functions but the troublesome one this works just fine.

--
---------------------------------------------
Wolfram / Coder / Draconus Entertainment Inc.
---------------------------------------------


- Raw text -


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