Click here to Skip to main content
15,924,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2601: 'CreateArrayOfRandomNumbers' : local function definitions are illegal Pin
David Crow16-May-03 3:51
David Crow16-May-03 3:51 
GeneralRe: error C2601: 'CreateArrayOfRandomNumbers' : local function definitions are illegal Pin
linex16-May-03 15:36
linex16-May-03 15:36 
GeneralBitmap Processing Pin
sooyewguan15-May-03 16:58
sooyewguan15-May-03 16:58 
Questionifstream ambiguity error??? Pin
alex.barylski15-May-03 16:51
alex.barylski15-May-03 16:51 
AnswerRe: ifstream ambiguity error??? Pin
valikac15-May-03 18:29
valikac15-May-03 18:29 
GeneralZModem protocol Pin
SNathani15-May-03 15:09
SNathani15-May-03 15:09 
Questionhow to open file faster? Pin
includeh1015-May-03 11:32
includeh1015-May-03 11:32 
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 

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.