www.delorie.com/archives/browse.cgi | search |
From: | "Paul Vanukoff" <vanukoff AT primenet DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: GPF when reading or writing files larger than a certain size |
Date: | Sat, 26 Aug 2000 06:07:00 -0700 |
Organization: | Frontier GlobalCenter Inc. |
Lines: | 32 |
Message-ID: | <8o8fe4$qh2$1@nnrp02.primenet.com> |
References: | <8o6cms$iph$1 AT nnrp02 DOT primenet DOT com> <8o6e3g$itn$1 AT nnrp02 DOT primenet DOT com> <967261321 DOT 630387 AT shelley DOT paradise DOT net DOT nz> |
NNTP-Posting-Host: | unknown-206-phx.globalcrossing.com |
X-Complaints-To: | abuse AT globalcenter DOT net |
X-Posted-By: | @206.165.0.206 (vanukoff) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Thanks. You were absolutely right. Operator (programmer) error as usual. I was trying to access memory I didn't own ... -- Paul Vanukoff "Edmund Horner" <ejrh AT paradise DOT net DOT nz> wrote in message news:967261321 DOT 630387 AT shelley DOT paradise DOT net DOT nz... > It'll be due to where you get your buffer from. How big is your buffer? If > you haven't actually allocated enough (or any) space for it, then the limits > your getting are probably where the actual memory given your program runs > out. > > "Paul Vanukoff" <vanukoff AT primenet DOT com> wrote in message > news:8o6e3g$itn$1 AT nnrp02 DOT primenet DOT com... > > > > Ah ... never mind. I am using fread() and fwrite() now. Works much better. > > Still if someone has an answer, I wouldn't mind knowing. Thanks. > > > > -- > > Paul Vanukoff > > > > > > > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |