In article <g6**********@aioe.org>, Richie Kernagan <ho***@pot.inalidwrote:
>Problem with the fread() call on MS Visual Studio 2005 running under Win 64.
Hmmm, then why post to comp.compilers.lcc ???
>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).
Either there is a bug in your code (which you don't show us)
or there is a bug in the MS Visual Studio 2005 support library.
If you wish to investigate the possibility of a bug in
MS Visual Studio 2005 then you should do so in an OS-specific
forum or on one of microsoft's web sites. If you wish to investigate
that the possibility of a bug in your code, you will need to post
compilable code that we could test with... preferrably code that
specifically outputs the size of size_t so that we can see with
our own eyes that you haven't accidently been mistaken about
how big size_t is on the system.
--
"After all, what problems has intellectualism ever solved?"
-- Robert Gilman