Overview
Features
Download
Documentation
Community
Add-Ons & Services

Large file support under WIN32

Please post support and help requests here.

Large file support under WIN32

Postby bebu » 10 Nov 2009, 17:23

Hi,
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.

Thanks
Benjamin
bebu
 
Posts: 1
Joined: 10 Nov 2009, 16:54

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).
alex
 
Posts: 1116
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron