Date: Tue, 18 Mar 1997 20:13:57 +0300 (IDT) From: Eli Zaretskii To: Daryl DOT Cooper AT Bigfoot DOT Com cc: djgpp AT delorie DOT com Subject: Re: GPFs and PAGEFAULTS In-Reply-To: <332EC14C.BE4@geocities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 18 Mar 1997, Daryl Cooper wrote: > buffer). anyway, I tried it and got a GPF (general protection fault). > after figuring out how to disable protection for memory, I tried the > function again and got a page fault. I used __djgpp_enable_nearptr (or > something to that effect) to disable protection. > > what am I doing wrong? You will need to post relevant fragments of your code to get meaningful answers. People have no way of guessing what's wrong with your code without seeing it.