Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to prevent switch (or focus) to an application? Pin
Brooks Harris11-Feb-07 5:11
Brooks Harris11-Feb-07 5:11 
AnswerRe: How to prevent switch (or focus) to an application? Pin
Brooks Harris11-Feb-07 11:36
Brooks Harris11-Feb-07 11:36 
AnswerRe: How to prevent switch (or focus) to an application? Pin
Brooks Harris11-Feb-07 11:53
Brooks Harris11-Feb-07 11:53 
QuestionDevC++ Clock Pin
EagleAmerican1410-Feb-07 11:25
EagleAmerican1410-Feb-07 11:25 
AnswerRe: DevC++ Clock Pin
El Corazon10-Feb-07 14:25
El Corazon10-Feb-07 14:25 
AnswerRe: DevC++ Clock Pin
Christian Graus10-Feb-07 14:51
protectorChristian Graus10-Feb-07 14:51 
QuestionConfused about Mutex? Pin
nde_plume10-Feb-07 6:12
nde_plume10-Feb-07 6:12 
AnswerRe: Confused about Mutex? Pin
Waldermort10-Feb-07 6:17
Waldermort10-Feb-07 6:17 
Your first line creates a mutex and your current thread owns it. Your current thread will continue owning it until you call ReleaseMutex(). In your second thread, WaitForSingleObject() will wait until the first thread calls RealeaseMutex(), after the first thread has released it, the second thread will own it. If the first thread wants to own it again, it must wait until the second thread releases it. understand?

It doesn't work in your example because it's all in the same thread.
GeneralRe: Confused about Mutex? Pin
nde_plume10-Feb-07 6:47
nde_plume10-Feb-07 6:47 
GeneralRe: Confused about Mutex? Pin
Waldermort10-Feb-07 7:05
Waldermort10-Feb-07 7:05 
QuestionDisplay settings Pin
Waldermort10-Feb-07 5:31
Waldermort10-Feb-07 5:31 
AnswerRe: Display settings Pin
Christian Graus10-Feb-07 11:05
protectorChristian Graus10-Feb-07 11:05 
GeneralRe: Display settings Pin
Waldermort10-Feb-07 11:25
Waldermort10-Feb-07 11:25 
QuestionDirect3D forum Pin
Waldermort10-Feb-07 3:45
Waldermort10-Feb-07 3:45 
AnswerRe: Direct3D forum Pin
Hamid_RT10-Feb-07 20:46
Hamid_RT10-Feb-07 20:46 
QuestionESP exception Pin
sanjutvm10-Feb-07 3:33
sanjutvm10-Feb-07 3:33 
AnswerRe: ESP exception Pin
Cedric Moonen10-Feb-07 5:25
Cedric Moonen10-Feb-07 5:25 
GeneralRe: ESP exception Pin
sanjutvm12-Feb-07 5:15
sanjutvm12-Feb-07 5:15 
Questionwindow update problem? Pin
amitmistry_petlad 10-Feb-07 1:23
amitmistry_petlad 10-Feb-07 1:23 
QuestionGPS Receiver Holux, 211 series, USB Pin
Aurelien G.10-Feb-07 1:00
Aurelien G.10-Feb-07 1:00 
AnswerRe: GPS Receiver Holux, 211 series, USB Pin
cmk10-Feb-07 10:01
cmk10-Feb-07 10:01 
QuestionTo migrate project from VC++ 6.0 to VC ++.Net Pin
Atul2310-Feb-07 0:40
Atul2310-Feb-07 0:40 
AnswerRe: To migrate project from VC++ 6.0 to VC ++.Net Pin
Hamid_RT10-Feb-07 0:54
Hamid_RT10-Feb-07 0:54 
AnswerRe: To migrate project from VC++ 6.0 to VC ++.Net Pin
Eytukan10-Feb-07 1:28
Eytukan10-Feb-07 1:28 
AnswerRe: To migrate project from VC++ 6.0 to VC ++.Net Pin
Michael Dunn10-Feb-07 9:12
sitebuilderMichael Dunn10-Feb-07 9:12 

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.