Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem reading a Large File Pin
Neville Franks12-Feb-05 23:53
Neville Franks12-Feb-05 23:53 
GeneralRe: Problem reading a Large File Pin
Jason Raymond13-Feb-05 11:18
Jason Raymond13-Feb-05 11:18 
GeneralRe: Problem reading a Large File Pin
Neville Franks13-Feb-05 11:45
Neville Franks13-Feb-05 11:45 
GeneralRe: Problem reading a Large File Pin
Neville Franks13-Feb-05 12:33
Neville Franks13-Feb-05 12:33 
GeneralRe: Problem reading a Large File Pin
Michael Dunn13-Feb-05 16:14
sitebuilderMichael Dunn13-Feb-05 16:14 
GeneralRe: Problem reading a Large File Pin
Jason Raymond15-Feb-05 12:44
Jason Raymond15-Feb-05 12:44 
GeneralRe: Problem reading a Large File Pin
Mattias G14-Feb-05 5:59
Mattias G14-Feb-05 5:59 
GeneralRe: Problem reading a Large File Pin
Jason Raymond14-Feb-05 15:58
Jason Raymond14-Feb-05 15:58 
Thanks to everyone for your help. Here's an update:
I saw a lot of improvement using "FILE_FLAG_SEQUENTIAL_SCAN".
To use FILE_FLAG_NO_BUFFERING I need to make sure that the buffer is sector aligned. I had been using malloc, but I've switched to VirtualAlloc to control the buffer address alignment. It looks like VirtualAlloc will give me a page-aligned buffer, but is that necessarily sector-aligned? How do I report the sector size? GetDiskFreeSpace will give me that, but only for volumes of less than 2GB.

Regards,
Jason
Generalfatal error Pin
rasha200312-Feb-05 21:07
rasha200312-Feb-05 21:07 
GeneralRe: fatal error Pin
jabroney12-Feb-05 21:16
jabroney12-Feb-05 21:16 
GeneralRe: fatal error Pin
rasha200312-Feb-05 21:38
rasha200312-Feb-05 21:38 
GeneralTweak Manager Pin
Member 151147112-Feb-05 20:47
Member 151147112-Feb-05 20:47 
Generalquestion on critical section Pin
Anonymous12-Feb-05 17:56
Anonymous12-Feb-05 17:56 
GeneralRe: Correction Pin
Anonymous12-Feb-05 18:11
Anonymous12-Feb-05 18:11 
GeneralRe: Correction Pin
Mohammad A Gdeisat13-Feb-05 5:59
Mohammad A Gdeisat13-Feb-05 5:59 
GeneralRe: Correction Pin
Anonymous13-Feb-05 6:31
Anonymous13-Feb-05 6:31 
GeneralRe: Correction Pin
digwizfox17-Feb-05 7:35
digwizfox17-Feb-05 7:35 
Generalbrowser history Pin
jonavon blakly12-Feb-05 17:24
jonavon blakly12-Feb-05 17:24 
GeneralRe: browser history Pin
Spiritofamerica12-Feb-05 20:08
Spiritofamerica12-Feb-05 20:08 
GeneralProblem with public variables Pin
jw8112-Feb-05 16:51
jw8112-Feb-05 16:51 
GeneralRe: Problem with public variables Pin
bmzhao12-Feb-05 21:48
bmzhao12-Feb-05 21:48 
GeneralRe: Problem with public variables Pin
jw8112-Feb-05 23:39
jw8112-Feb-05 23:39 
GeneralRe: Problem with public variables Pin
jw8115-Feb-05 15:28
jw8115-Feb-05 15:28 
QuestionHow to show pop up menu Pin
Yulianto.12-Feb-05 16:38
Yulianto.12-Feb-05 16:38 
GeneralDetermining Local Group Permissions Pin
jabroney12-Feb-05 11:53
jabroney12-Feb-05 11:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.