Large file support under WIN32

Please post support and help requests here.
Posts: 1
Joined: 10 Nov 2009, 16:54

Large file support under WIN32

Postby bebu » 10 Nov 2009, 17:23

do the FileStreams support large files, i. e. files over 4GB size?
I ask because, the stl from Visual Studio only has support for 32 bit long addresses (sigh finally getting this done in Visual Studio 2010 as it seems), while native api has special functions to deal with it.


Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Large file support under WIN32

Postby alex » 11 Nov 2009, 12:26

A disclaimer first: I do not have a definite answer, I just looked at the code.
SetFilePointer is used in the way that supports large files. However, std::streamoff and std::streampos are in the interfaces, so I'd think that, in order to get the large file support, you'd have compile for 64-bit (provided std::streamoff and std::streampos are 64-bit there).

Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests