From: Niko Salminen 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. ---------------------------------------------