Mail Archives: djgpp/1997/07/30/10:50:06
>ALL THIS IS MOOT. You can't even have a file larger than 2^32. DOS (and I
>think Unix also) defines the file pointer as being 32 bits. So there is no
>possibility to have more than a 4GB file.
Not necessarily under the 32bit variants of Windows - I am not sure about Win95 (I never touch it if I can possibly avoid it) but WinNT3.51 and 4. both allow files larger than 2GB, and the Win32 native file operations use 64bit file pointers. I have no idea what would happen if you tried to access these with regular file ops - my guess is that sequential read would work but tell() / seek() would get wrapped.
Paul
--------------------------------------------------------------------
Paul Dixon Email: p DOT dixon AT ic DOT ac DOT uk
Software Engineer tel: +44 (171) 725 1098
Academic Dept of Paediatrics fax: +44 (171) 725 6284
St Mary's Hospital Medical School
(a constituent college of
Imperial College of Science, Technology & Medicine)
Norfolk Place, London W2 1PG, UK
---------------------------------------------------------------------
- Raw text -