Click here to Skip to main content
15,908,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAdding a .wav file as a resource in visual studio 2008 express, Hi, I need some help with this Pin
Sadaiyappan25-Dec-08 5:57
Sadaiyappan25-Dec-08 5:57 
AnswerRe: Adding a .wav file as a resource in visual studio 2008 express, Hi, I need some help with this Pin
Richard Andrew x6425-Dec-08 8:10
professionalRichard Andrew x6425-Dec-08 8:10 
GeneralRe: Adding a .wav file as a resource in visual studio 2008 express, Hi, I need some help with this Pin
Sadaiyappan25-Dec-08 8:18
Sadaiyappan25-Dec-08 8:18 
GeneralRe: Adding a .wav file as a resource in visual studio 2008 express, Hi, I need some help with this Pin
Richard Andrew x6425-Dec-08 8:20
professionalRichard Andrew x6425-Dec-08 8:20 
QuestionCAtlRegExp Match Pin
dehseth25-Dec-08 2:41
dehseth25-Dec-08 2:41 
AnswerRe: CAtlRegExp Match Pin
Yuriy Levytskyy25-Dec-08 5:24
Yuriy Levytskyy25-Dec-08 5:24 
AnswerRe: CAtlRegExp Match Pin
Stuart Dootson25-Dec-08 22:33
professionalStuart Dootson25-Dec-08 22:33 
Questionflcose API is taking so much time to close the large file [modified] Pin
Vishal Kumar Soni25-Dec-08 0:37
Vishal Kumar Soni25-Dec-08 0:37 
we have one dedicate m/c to do logging stuff only.The process which is doing logging get hanged for 5-15 min. By analyzing the problem,I have found that it hanged on closing the file.it hangs on API "fclose".It happens when we have file large log file(in between of 500MB to 1.3GB).
I have already tried following things:
1) just doing fflush before flose(fflush has been done successfully and very quickly)
2) to make sure this file has not been used by any other process,I tried to rename the file when fclose is in hanging state.I am able to do this.
3) After 500MB,I tried to close and open file again after each 50MB.Still hangs every time.

This problem is happening only on live system.It is not getting on my local m/c.I am not finding any reason now.
Do anyone have some suggestion or idea related to this problem?

Regards,
Vishal Soni

modified on Thursday, December 25, 2008 1:00 PM

QuestionCAsyncSocket in CWinThread Pin
Mustapha Rédouane24-Dec-08 23:06
Mustapha Rédouane24-Dec-08 23:06 
AnswerRe: CAsyncSocket in CWinThread Pin
Mark Salsbery25-Dec-08 6:57
Mark Salsbery25-Dec-08 6:57 
GeneralRe: CAsyncSocket in CWinThread Pin
Mustapha Rédouane25-Dec-08 23:33
Mustapha Rédouane25-Dec-08 23:33 
GeneralRe: CAsyncSocket in CWinThread Pin
Richard Andrew x6426-Dec-08 0:48
professionalRichard Andrew x6426-Dec-08 0:48 
Questionfetching data from sql server using c++ ?? Pin
debonair12345624-Dec-08 21:56
debonair12345624-Dec-08 21:56 
QuestionRe: fetching data from sql server using c++ ?? Pin
CPallini24-Dec-08 22:53
mveCPallini24-Dec-08 22:53 
AnswerRe: fetching data from sql server using c++ ?? Pin
Mark Salsbery25-Dec-08 7:00
Mark Salsbery25-Dec-08 7:00 
QuestionProblem about sending messages to the program runs on another desktop? [modified] Pin
kcynic24-Dec-08 19:13
kcynic24-Dec-08 19:13 
AnswerRe: Problem about sending messages to the program runs on another desktop? Pin
Richard Andrew x6425-Dec-08 8:13
professionalRichard Andrew x6425-Dec-08 8:13 
GeneralRe: Problem about sending messages to the program runs on another desktop? Pin
kcynic25-Dec-08 14:07
kcynic25-Dec-08 14:07 
GeneralRe: Problem about sending messages to the program runs on another desktop? Pin
Richard Andrew x6425-Dec-08 14:52
professionalRichard Andrew x6425-Dec-08 14:52 
GeneralRe: Problem about sending messages to the program runs on another desktop? Pin
kcynic25-Dec-08 14:58
kcynic25-Dec-08 14:58 
QuestionXMLHttpRequestPtr creation failed in thread? Pin
ritz123424-Dec-08 19:11
ritz123424-Dec-08 19:11 
AnswerRe: XMLHttpRequestPtr creation failed in thread? Pin
Code-o-mat25-Dec-08 11:37
Code-o-mat25-Dec-08 11:37 
QuestionCheck if HWND is @ top of Z order Pin
Ravi Bhavnani24-Dec-08 18:41
professionalRavi Bhavnani24-Dec-08 18:41 
AnswerRe: Check if HWND is @ top of Z order Pin
SandipG 24-Dec-08 20:00
SandipG 24-Dec-08 20:00 
GeneralRe: Check if HWND is @ top of Z order Pin
Ravi Bhavnani25-Dec-08 5:54
professionalRavi Bhavnani25-Dec-08 5:54 

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.