Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Estimate time of execution c-function execution Pin
Dr. Fry7-Jul-15 10:04
Dr. Fry7-Jul-15 10:04 
AnswerRe: Estimate time of execution c-function execution Pin
CodingStyle8-Jul-15 0:02
CodingStyle8-Jul-15 0:02 
AnswerRe: Estimate time of execution c-function execution Pin
Arthur V. Ratz13-Aug-15 19:29
professionalArthur V. Ratz13-Aug-15 19:29 
Questionpreprocessor #include Pin
Vaclav_6-Jul-15 3:12
Vaclav_6-Jul-15 3:12 
AnswerRe: preprocessor #include Pin
Chris Losinger6-Jul-15 3:30
professionalChris Losinger6-Jul-15 3:30 
GeneralRe: preprocessor #include Pin
Albert Holguin7-Jul-15 13:29
professionalAlbert Holguin7-Jul-15 13:29 
AnswerRe: preprocessor #include Pin
Jochen Arndt6-Jul-15 4:41
professionalJochen Arndt6-Jul-15 4:41 
GeneralRe: preprocessor #include Pin
PIEBALDconsult6-Jul-15 4:43
mvePIEBALDconsult6-Jul-15 4:43 
GeneralRe: preprocessor #include Pin
Vaclav_10-Jul-15 4:07
Vaclav_10-Jul-15 4:07 
GeneralRe: preprocessor #include Pin
Richard MacCutchan10-Jul-15 4:22
mveRichard MacCutchan10-Jul-15 4:22 
GeneralRe: preprocessor #include Pin
Vaclav_13-Jul-15 7:50
Vaclav_13-Jul-15 7:50 
GeneralRe: preprocessor #include Pin
Richard MacCutchan13-Jul-15 22:05
mveRichard MacCutchan13-Jul-15 22:05 
QuestionRe: preprocessor #include Pin
David Crow10-Jul-15 5:30
David Crow10-Jul-15 5:30 
AnswerRe: preprocessor #include Pin
Vaclav_13-Jul-15 7:34
Vaclav_13-Jul-15 7:34 
GeneralRe: preprocessor #include Pin
David Crow13-Jul-15 10:53
David Crow13-Jul-15 10:53 
QuestionWaiting for open files Pin
Drakesal4-Jul-15 0:46
Drakesal4-Jul-15 0:46 
AnswerRe: Waiting for open files Pin
Richard Andrew x644-Jul-15 4:58
professionalRichard Andrew x644-Jul-15 4:58 
GeneralRe: Waiting for open files Pin
Drakesal4-Jul-15 5:01
Drakesal4-Jul-15 5:01 
AnswerRe: Waiting for open files Pin
Richard Andrew x644-Jul-15 5:23
professionalRichard Andrew x644-Jul-15 5:23 
GeneralRe: Waiting for open files Pin
Drakesal4-Jul-15 5:33
Drakesal4-Jul-15 5:33 
AnswerRe: Waiting for open files Pin
Frankie-C4-Jul-15 5:44
Frankie-C4-Jul-15 5:44 
Giovanni they already explained to you that WaitForSingleObjects returns with the index of the event in the array that has been set.
When you get it simply inspect the return value, identify the file and execute the operations sequential to file closure.
Then remove the event from the array then repeat the WaitForSingleObjects with one element less in array. Repeat it until there are no more events in the array.
Buona fortuna.
GeneralRe: Waiting for open files Pin
Drakesal4-Jul-15 20:24
Drakesal4-Jul-15 20:24 
GeneralRe: Waiting for open files Pin
Frankie-C5-Jul-15 1:22
Frankie-C5-Jul-15 1:22 
GeneralRe: Waiting for open files Pin
Drakesal5-Jul-15 10:10
Drakesal5-Jul-15 10:10 
GeneralRe: Waiting for open files Pin
Frankie-C5-Jul-15 10:14
Frankie-C5-Jul-15 10:14 

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.