[fpc-devel] Memory Streams unable to handle reads past 2GB

Andrew Brunner atbrunner at aurawin.com
Tue Nov 6 05:11:17 CET 2012


Same problem with TMemoryStream.Write :-(

On 11/05/2012 10:09 PM, Andrew Brunner wrote:
> objpas/classes/classesh.inc
>
> TCustomMemoryStream
>     function Read(var Buffer; Count: LongInt): LongInt; override;
>
> Having Read result declared as LongInt is problematic on 64 bit 
> systems with large streams.
> Read result MUST be either PtrInt or Int64 but it cannot be LongInt.
>
> Please fix,  Thanks
>
>
>


-- 
Andrew Brunner

Aurawin LLC
512.574.6298
http://aurawin.com/

Aurawin is a great new way to store, share, and enjoy your
photos, videos, music and more.




More information about the fpc-devel mailing list