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

C / C++ / MFC

 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Richard Andrew x6427-Dec-08 11:55
professionalRichard Andrew x6427-Dec-08 11:55 
GeneralRe: Why fclose is so slow and what is its internal implematation. [modified] Pin
Vishal Kumar Soni27-Dec-08 21:12
Vishal Kumar Soni27-Dec-08 21:12 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Luc Pattyn28-Dec-08 2:16
sitebuilderLuc Pattyn28-Dec-08 2:16 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:40
Vishal Kumar Soni28-Dec-08 5:40 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 4:59
Mark Salsbery28-Dec-08 4:59 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:56
Vishal Kumar Soni28-Dec-08 5:56 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 6:26
Mark Salsbery28-Dec-08 6:26 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 8:10
Vishal Kumar Soni28-Dec-08 8:10 
Earlier I had doubt related to fflush or some other factor.To know this first I tried by calling fflush just before fclose.It does not make any difference.

Then in second test ,I tried by just open and close the file.Nothing in between these two.
even in this case it was taking time.

I wil try by giving "c" in file open mode.Now I opening the file by "a+",I will change it by "ca+".

Can I also put some logging message in fclose it and recompileit lirary?

Thanks,
Vishal
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 8:16
Mark Salsbery28-Dec-08 8:16 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 10:04
Vishal Kumar Soni28-Dec-08 10:04 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 10:51
Vishal Kumar Soni28-Dec-08 10:51 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 10:58
Mark Salsbery28-Dec-08 10:58 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 22:12
Vishal Kumar Soni28-Dec-08 22:12 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 11:13
Mark Salsbery28-Dec-08 11:13 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni29-Dec-08 3:50
Vishal Kumar Soni29-Dec-08 3:50 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery29-Dec-08 4:47
Mark Salsbery29-Dec-08 4:47 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Luc Pattyn28-Dec-08 14:08
sitebuilderLuc Pattyn28-Dec-08 14:08 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 22:42
Vishal Kumar Soni28-Dec-08 22:42 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Luc Pattyn29-Dec-08 3:27
sitebuilderLuc Pattyn29-Dec-08 3:27 
QuestionCHM version of the C++ FAQ Lite Options There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. There was an error processing your request. Please try again. Standa Pin
Lawand27-Dec-08 8:40
Lawand27-Dec-08 8:40 
AnswerNO advertising, please Pin
CPallini27-Dec-08 9:03
mveCPallini27-Dec-08 9:03 
GeneralRe: NO advertising, please Pin
Lawand27-Dec-08 9:15
Lawand27-Dec-08 9:15 
GeneralRe: NO advertising, please Pin
CPallini27-Dec-08 10:01
mveCPallini27-Dec-08 10:01 
GeneralRe: NO advertising, please Pin
Rajesh R Subramanian28-Dec-08 4:57
professionalRajesh R Subramanian28-Dec-08 4:57 
QuestionFailed to Launch Help Pin
Ali Tavakol27-Dec-08 3:57
Ali Tavakol27-Dec-08 3:57 

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.