Re: FREAD fails on files >4GB
- From: Cromulent <cromulent@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 21:24:23 +0100
On 2008-07-30 23:30:34 +0100, Richie Kernagan <honey@xxxxxxxxxx> said:
Howdy
Problem with the fread() call on MS Visual Studio 2005 running under Win 64.
The parameters to fread size and count are both size_t ie 64 bits. Even so the call fails when the size arg is greater than 4GB (ie exceeds 32 bit unsigned value).
Any suggestions.
Thanks in advance.
I never use VS 2005 so I don't know if it is true or not but does it have an fread64() function in its library at all? Some systems do, I just do not know if the Microsoft implementation is one.
--
"I disapprove of what you say, but I'll defend to the death your right to say it." - Voltaire
.
- Prev by Date: Re: Weird malloc behaviour
- Next by Date: Re: Which is faster?
- Previous by thread: Re: FREAD fails on files >4GB
- Next by thread: A basic question question about volatile use
- Index(es):
Relevant Pages
|