Date: Sun, 16 Mar 1997 16:20:45 +0300 (IDT) From: Eli Zaretskii To: "J. Boer" cc: djgpp AT delorie DOT com Subject: Re: system() under '95 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.