Click here to Skip to main content
15,907,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What are these files in folders of this os? Pin
johan1111117-Apr-14 7:03
johan1111117-Apr-14 7:03 
QuestionBuffer overrun at _CRT_DEBUGGER_HOOK in dbghook.c (using log4cxx) Pin
Dropkicked Murphy16-Apr-14 2:59
Dropkicked Murphy16-Apr-14 2:59 
SuggestionRe: Buffer overrun at _CRT_DEBUGGER_HOOK in dbghook.c (using log4cxx) Pin
Richard MacCutchan16-Apr-14 5:33
mveRichard MacCutchan16-Apr-14 5:33 
GeneralRe: Buffer overrun at _CRT_DEBUGGER_HOOK in dbghook.c (using log4cxx) Pin
Dropkicked Murphy16-Apr-14 8:51
Dropkicked Murphy16-Apr-14 8:51 
AnswerRe: Buffer overrun at _CRT_DEBUGGER_HOOK in dbghook.c (using log4cxx) Pin
Stephen Hewitt17-Apr-14 18:57
Stephen Hewitt17-Apr-14 18:57 
QuestionCreating View without document? Pin
prasanth_mv16-Apr-14 2:43
prasanth_mv16-Apr-14 2:43 
QuestionRe: Creating View without document? Pin
Maximilien16-Apr-14 3:31
Maximilien16-Apr-14 3:31 
QuestionRe: Creating View without document? Pin
Richard MacCutchan16-Apr-14 5:24
mveRichard MacCutchan16-Apr-14 5:24 
AnswerRe: Creating View without document? Pin
ptse17-Apr-14 3:30
ptse17-Apr-14 3:30 
GeneralRe: Creating View without document? Pin
prasanth_mv5-May-14 19:28
prasanth_mv5-May-14 19:28 
QuestionMicrosoft Project Kind of free Application developed in MFC or C# Pin
sma123#15-Apr-14 20:12
sma123#15-Apr-14 20:12 
AnswerRe: Microsoft Project Kind of free Application developed in MFC or C# Pin
CPallini15-Apr-14 20:34
mveCPallini15-Apr-14 20:34 
QuestionOutlook Addins Question Pin
None_li15-Apr-14 15:50
None_li15-Apr-14 15:50 
QuestionCStaic SetWindowText() blinking problem [Solved] Pin
econy14-Apr-14 6:55
econy14-Apr-14 6:55 
QuestionRe: CStaic SetWindowText() blinking problem Pin
David Crow14-Apr-14 9:04
David Crow14-Apr-14 9:04 
AnswerRe: CStaic SetWindowText() blinking problem Pin
econy14-Apr-14 9:21
econy14-Apr-14 9:21 
GeneralRe: CStaic SetWindowText() blinking problem Pin
CPallini14-Apr-14 9:44
mveCPallini14-Apr-14 9:44 
GeneralRe: CStaic SetWindowText() blinking problem Pin
econy15-Apr-14 4:54
econy15-Apr-14 4:54 
GeneralRe: CStaic SetWindowText() blinking problem Pin
CPallini15-Apr-14 6:10
mveCPallini15-Apr-14 6:10 
QuestionWaitForMultipleObjects keeps catching timeout event (RESOLVED) Pin
bkelly1313-Apr-14 11:36
bkelly1313-Apr-14 11:36 
AnswerRe: WaitForMultipleObjects keeps catching timeout event Pin
SoMad13-Apr-14 12:28
professionalSoMad13-Apr-14 12:28 
I don't see a problem with WaitForMultipleObjects()[^] returning WAIT_TIMEOUT in this case. The documentation states:
Quote:
WAIT_TIMEOUT: The time-out interval elapsed and the conditions specified by the bWaitAll parameter are not satisfied.
Even though you are specifying zero as your time-out interval, it is still an interval (sort of). Look at the documented return values and think about what other value could be returned in this case.
If your intention is to wait until your events actually signal, then consider using INFINITE instead of zero, but beware of the problems that might cause - you will be waiting until all events in your array are signaled.
BTW, are you sure you want to specify bWaitAll = TRUE? Bear in mind, that this is AND logic, meaning all of your events must be signaled before WaitForMultipleObjects() returns a non-error result.

The ResetEvent()[^] returns FALSE because you are not passing a valid handle. You pass in a timeout value, but that is not how that function is used.

Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

GeneralRe: WaitForMultipleObjects keeps catching timeout event Pin
bkelly1313-Apr-14 14:03
bkelly1313-Apr-14 14:03 
GeneralRe: WaitForMultipleObjects keeps catching timeout event Pin
SoMad13-Apr-14 14:13
professionalSoMad13-Apr-14 14:13 
QuestionLinking errors Pin
tre412-Apr-14 11:51
tre412-Apr-14 11:51 
AnswerRe: Linking errors Pin
Richard Andrew x6412-Apr-14 15:07
professionalRichard Andrew x6412-Apr-14 15:07 

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.