From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp,comp.programming Subject: Re: Problem with DJGPP Date: 5 Sep 2001 02:44:59 GMT Organization: Cornell University Lines: 16 Sender: asu1 AT cornell DOT invalid (on slip-32-102-40-150.ny.us.prserv.net) Message-ID: References: <9n2t99$sga$1 AT news DOT telecom DOT cz> NNTP-Posting-Host: slip-32-102-40-150.ny.us.prserv.net X-Trace: news01.cit.cornell.edu 999657899 12401 32.102.40.150 (5 Sep 2001 02:44:59 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 5 Sep 2001 02:44:59 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Rene" wrote in news:9n2t99$sga$1 AT news DOT telecom DOT cz: > What do I do wrong when the program built in DJGPP exits with General > protection fault error? For example, this occurs when using the fread() > from stdio.h, when I want to put pixel directly into the video memory > (0xa0000000), etc. In TC++ 3.1 everything goes well. > I would appreciate any help. > Rene Puchinger You might want to take a look at http://www.unur.com/comp/simpld_c.txt hth. -- -------------------------------- A. Sinan Unur http://www.unur.com/