c++ - Access File using FILE_FLAG_RANDOM_ACCESS with a limit on cache size -
i want access file uisng using file_flag_random_access. when big file accessed via file_flag_random_access, huge memory consumption result in bad scheme performance. there way set limit on cache size specific file handle?
yes there way command file buffering in windows need ditch c++ standard library , utilize low-level os file i/o apis. if still interested, start reading here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365199(v=vs.85).aspx
c++ windows
No comments:
Post a Comment