From: Jari Oksanen Newsgroups: comp.os.msdos.djgpp Subject: Re: system(): program too large Date: Mon, 08 Sep 1997 08:04:51 +0100 Organization: Univ Helsinki Lines: 20 Message-ID: <3413A393.7C38@helsinki.fi> References: NNTP-Posting-Host: neopc161.lpt.fi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > > On Fri, 5 Sep 1997, Jari Oksanen wrote: > > > I have tried to run another program from a djpgg program using system(), > > but MSDOS tells me that the program is too large to the memory (the > > error message is in a very strange language, and I don't know the > > accurate English phrasing). I have no problems using system() to run > > programs compiled with djgpp, or programs my mate has compiled with > > Lahey Fortran90, though they are larger than the program I need to run. > > Only this one old program compiled with an unknown compiler causes > > problems. MSDOS command MEM (invoked with the same system() command) > > says that the largest executable program size should be 550K, and the > > program I try to run is 273K, and still it is too large. Any advice? > > Can you run that same program from the DOS prompt? Yes, I can. It runs smoothly and quickly from the DOS prompt. -- Jari Oksanen -- Lahtis, Finland / Luokta, Suopma / Lahti, Häme.