Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCTreeCtrl Pin
Fabrizio24-Jan-01 4:22
Fabrizio24-Jan-01 4:22 
GeneralInternet Programming Pin
RaviShankar24-Jan-01 4:12
RaviShankar24-Jan-01 4:12 
QuestionHow to use Interface?? Pin
Tom K24-Jan-01 3:55
Tom K24-Jan-01 3:55 
AnswerRe: How to use Interface?? Pin
Erik Thompson24-Jan-01 7:11
sitebuilderErik Thompson24-Jan-01 7:11 
GeneralIrDA under WInCE Pin
Alex Gusev23-Jan-01 23:53
Alex Gusev23-Jan-01 23:53 
GeneralCLS in a DOS box Pin
jerry0davis23-Jan-01 23:51
jerry0davis23-Jan-01 23:51 
GeneralRe: CLS in a DOS box Pin
Tim Deveaux24-Jan-01 4:05
Tim Deveaux24-Jan-01 4:05 
GeneralMutli_Threading ( WaitForMultipleObject) Pin
.::RockNix::.23-Jan-01 23:40
.::RockNix::.23-Jan-01 23:40 
Hi,

does anybody know if the function WaitForMultipleObjects behaves different on Win98 and Win2000/NT.

I have the following lines in my source :

DWORD dwResult = WaitForMultipleObjects( 5, hThread, TRUE, INFINITE);

if ( !(dwResult==(WAIT_OBJECT_0)))
.
.
.

where hThread is an array of handles to 5 threads and the threads have been started in order 0 to 4.

I think I found out that on Win98 the lowest handle-index is returned and on Win2000/NT the handle-index of the last unsignaled object is returned.

That means : Win2000/NT -> dwResult = 4
Win98 -> dwResult = 0

Did anybody recognize the same effect ?

Greatings Mario ///

--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
GeneralModern shortcuts Pin
23-Jan-01 23:31
suss23-Jan-01 23:31 
QuestionWhat is const = 0 Pin
23-Jan-01 23:00
suss23-Jan-01 23:00 
AnswerRe: What is const = 0 Pin
Matt.W.24-Jan-01 0:12
Matt.W.24-Jan-01 0:12 
GeneralProblem with a tree view !!! Pin
Walid MEDDEB23-Jan-01 22:15
Walid MEDDEB23-Jan-01 22:15 
GeneralRe: Problem with a tree view !!! Pin
David Fedolfi25-Jan-01 6:05
David Fedolfi25-Jan-01 6:05 
GeneralRe: Problem with a tree view !!! Pin
25-Jan-01 21:58
suss25-Jan-01 21:58 
GeneralRe: Problem with a tree view !!! Pin
Walid MEDDEB26-Jan-01 5:44
Walid MEDDEB26-Jan-01 5:44 
Generalquestio about pointer Pin
Ahmad23-Jan-01 22:00
Ahmad23-Jan-01 22:00 
GeneralRe: questio about pointer Pin
Walter Gildersleeve24-Jan-01 0:55
Walter Gildersleeve24-Jan-01 0:55 
GeneralCompiler - Error Pin
.::RockNix::.23-Jan-01 21:56
.::RockNix::.23-Jan-01 21:56 
GeneralRe: Compiler - Error Pin
Michael Dunn24-Jan-01 6:50
sitebuilderMichael Dunn24-Jan-01 6:50 
GeneralRe: Compiler - Error Pin
AlexMarbus24-Jan-01 7:06
AlexMarbus24-Jan-01 7:06 
QuestionDHTML article?? Pin
Amit Dey23-Jan-01 20:51
Amit Dey23-Jan-01 20:51 
Generalfree e-books about VISUAL C++ Pin
23-Jan-01 20:37
suss23-Jan-01 20:37 
GeneralRe: free e-books about VISUAL C++ Pin
Ahmad23-Jan-01 20:40
Ahmad23-Jan-01 20:40 
Generalquestio about winmain Pin
Ahmad23-Jan-01 20:34
Ahmad23-Jan-01 20:34 
GeneralRe: questio about winmain Pin
Ghazi H. Wadi24-Jan-01 7:35
Ghazi H. Wadi24-Jan-01 7:35 

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.