Date: Tue, 2 Feb 1999 11:03:27 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Davis cc: djgpp AT delorie DOT com Subject: Re: RSXIDE memory problem? In-Reply-To: <794tg6$sp2$1@reader2.wxs.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 1 Feb 1999, Peter Davis wrote: > He sets NUM to 1000 and the (Visual C) .exe file he provides works for me. > If however I compile the .c file with RSXIDE, I get a fatal error upon > execution (the one that advises you to contact the supplier if the problem > persists) if NUM is greater that about 500; lower values work fine. What does "sizeof(POINT)" return? If it's a large number, and if the array of POINT structures is declared inside some function, you might be overflowing the stack. Try declaring it outside any function, and see if that helps. This is explained in section 15.9 of the DJGPP FAQ list.