Date: Mon, 13 Apr 1998 18:36:10 +0300 (IDT) From: Eli Zaretskii To: Frank cc: djgpp AT delorie DOT com Subject: Re: Newbie Question Regarding memory In-Reply-To: <6gskrh$lbb$1@prometheus.acsu.buffalo.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 13 Apr 1998, Frank wrote: > I have a program that uses LOT of memory, the program > sometimes run fine, then other times, it crashes leaving > me with general fault protection error. I would suggest testing all the places where you call `malloc', in case it returns NULL and your code then dereferences a null pointer. > I don't have > dpmi thingy.. in that directory, do I need to put that > file in the same directory? No, CWSDPMI could be somewhere on your PATH. It doesn't need to be in the same directory. But if your program at all runs, your problem is NOT with CWSDPMI. If it were, you would see a message like "No DPMI.", not crashes.