Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to open file faster? Pin
Chris Richardson15-May-03 17:10
Chris Richardson15-May-03 17:10 
Well on Win32, CreateFile is about as low level as you are going to get. The speed of the open operation should not be dependant upon the size of the file, but the speed of reading the file will surely be dependant upon the file size. If you are really talking about the speed of reading files, I would suggest looking into memory mapped files. They are very very fast to read. Take a look at MapViewOfFile in the MSDN.

If you really are only concerned with the speed of the CreateFile (and not reading the file), then sorry I cannot be of any help.

Chris Richardson
Terrain Software
GeneralRe: how to open file faster? Pin
includeh1017-May-03 15:50
includeh1017-May-03 15:50 
GeneralRe: how to open file faster? Pin
Chris Richardson18-May-03 13:13
Chris Richardson18-May-03 13:13 
AnswerRe: how to open file faster? Pin
jhaga15-May-03 23:16
professionaljhaga15-May-03 23:16 
QuestionChange the default title of an application? Pin
Kevein15-May-03 11:17
Kevein15-May-03 11:17 
AnswerRe: Change the default title of an application? Pin
Neville Franks15-May-03 11:33
Neville Franks15-May-03 11:33 
AnswerRe: Change the default title of an application? Pin
John R. Shaw15-May-03 14:38
John R. Shaw15-May-03 14:38 
GeneralRe: Change the default title of an application? Pin
Kevein16-May-03 10:38
Kevein16-May-03 10:38 
Generalvertical rebar Pin
edele15-May-03 10:47
edele15-May-03 10:47 
GeneralMFC conflict between Appli and DLL Pin
Twofy15-May-03 9:39
Twofy15-May-03 9:39 
Generalsearch article Pin
aguest15-May-03 9:36
aguest15-May-03 9:36 
GeneralChallenge: Scanning local machine for shared folders Pin
junior10115-May-03 8:51
junior10115-May-03 8:51 
GeneralRe: Challenge: Scanning local machine for shared folders Pin
David Crow15-May-03 10:22
David Crow15-May-03 10:22 
GeneralMainsoft. Visual MainWin5. Pin
oleg6315-May-03 7:40
professionaloleg6315-May-03 7:40 
GeneralRe: Mainsoft. Visual MainWin5. Pin
John R. Shaw15-May-03 14:43
John R. Shaw15-May-03 14:43 
QuestionCListCtrl: Delete all columns? Pin
Dominik Reichl15-May-03 7:36
Dominik Reichl15-May-03 7:36 
AnswerRe: CListCtrl: Delete all columns? Pin
David Crow15-May-03 7:44
David Crow15-May-03 7:44 
GeneralRe: CListCtrl: Delete all columns? Pin
Dominik Reichl15-May-03 7:46
Dominik Reichl15-May-03 7:46 
AnswerRe: CListCtrl: Delete all columns? Pin
Rage15-May-03 7:53
professionalRage15-May-03 7:53 
GeneralRe: CListCtrl: Delete all columns? Pin
Dominik Reichl15-May-03 8:16
Dominik Reichl15-May-03 8:16 
GeneralRe: CListCtrl: Delete all columns? Pin
JT Anderson15-May-03 10:52
JT Anderson15-May-03 10:52 
GeneralRe: CListCtrl: Delete all columns? Pin
John R. Shaw15-May-03 14:48
John R. Shaw15-May-03 14:48 
GeneralGetRuntimeClass linking problem Pin
kydfru15-May-03 7:25
kydfru15-May-03 7:25 
GeneralRe: GetRuntimeClass linking problem Pin
basementman15-May-03 7:36
basementman15-May-03 7:36 
GeneralRe: GetRuntimeClass linking problem Pin
kydfru16-May-03 4:09
kydfru16-May-03 4:09 

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.