www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/25/21:54:15

Xref: news2.mv.net comp.os.msdos.djgpp:7880
From: tyuan AT beta DOT wsl DOT sinica DOT edu DOT tw (Tein H. Yuan(°K¤ÑÐA))
Newsgroups: comp.os.msdos.djgpp
Subject: Re: memory overwriting itself??
Date: 23 Aug 1996 07:50:21 GMT
Organization: Computing Center, Academia Sinica
Lines: 31
Message-ID: <4vjnrt$oat@gate.sinica.edu.tw>
References: <4ved7k$gps AT news DOT ysu DOT edu>
NNTP-Posting-Host: tyuan%@beta.wsl.sinica.edu.tw
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

randall williams (ac387 AT yfn DOT ysu DOT edu) wrote:
: I finally finished, sort of, a project I've been working on.
: I found a problem maybe a bug. I have a function that uses the
: system() to make a dir list file and then it reads the file
: in for a directory menu. I know it can be done another way, but
: I do the same thing with a program's output and it saves some
: space. the function also moves around the directory tree, so it
: has to be able to read the directory several times. The open file
: is closed after it is read, and removed with unlink().

I met a problem with system() several months ago.
While my program takes small amount of memory, it runs great.
Unfortunatelly, while the requested memory is increased, my program
is always failed at the statement system().

Finally, I use
	system("c:\\command.com /C tde.exe arguments...");
instaed of
	system("tde.exe arguments...");
to solve the problem.

-- Tein
===========================================================
Tein Horng Yuan (°K¤ÑÐA)
(voice): 886-2-789-9247		(fax): 886-2-783-6444
Email: tyuan AT beta DOT wsl DOT sinica DOT edu DOT tw
URL:   http://phi.sinica.edu.tw/~tyuan/
===========================================================
µÐ´£¥»¦Û©Ê¡A°_¤ß§Y¬O¦k¡F²b¤ß¦b¦k¤¤¡A¦ý¥¿µL¤T»Ù¡C
                                        ¤»¯ª¾Â¸g ¯ë­Y«~²Ä¤G
===========================================================

- Raw text -


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