www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/16/08:48:31

Date: Sun, 16 Mar 1997 16:20:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "J. Boer" <jboer AT blue DOT weeg DOT uiowa DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: system() under '95
In-Reply-To: <Pine.A41.3.95.970315084804.20706A-100000@green.weeg.uiowa.edu>
Message-ID: <Pine.SUN.3.91.970316161835.12150h-100000@is>
MIME-Version: 1.0

On Sat, 15 Mar 1997, J. Boer wrote:

> 	I am using sysytem() to call 
> one 2.02 djgpp program with another 
> it worker for about 50+-20 times then
> gets 
> Load error: no DOS memory
> does anyone have a fix for this problem.

Do you mean you invoke 50 recursive programs, like prog1 invokes prog2
that invokes prog3 that .... that invokes prog50 (so that 50 programs
are in memory at the same time), or that you call `system' 50 times
one after the other in sequence?

For the recursive case, the only thing you can do is to free up more
conventional memory below 640KB by loading some of the device drivers
and TSRs HIGH.  If you see this message in the second case, tell more
about your system (is it DOS? Windows? which version? etc.), because
it should work.  

Note that Windows 95 has bugs in its DPMI host which are related to 
spawning child programs, but they usually display a message that says 
there are no free selectors.

And btw, there's no DJGPP v2.02; the latest version is v2.01.

- Raw text -


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