Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I hide/Show Group Box Pin
sabdalla8014-Aug-08 6:25
sabdalla8014-Aug-08 6:25 
QuestionHandle Event from a Class Pin
Sianspheric13-Aug-08 10:05
Sianspheric13-Aug-08 10:05 
QuestionCreating a global mouse hook Pin
JRuthe13-Aug-08 8:34
JRuthe13-Aug-08 8:34 
QuestionThread: Suspending best practice Pin
StevenS_Dev13-Aug-08 7:41
StevenS_Dev13-Aug-08 7:41 
AnswerRe: Thread: Suspending best practice Pin
Cedric Moonen13-Aug-08 7:52
Cedric Moonen13-Aug-08 7:52 
AnswerRe: Thread: Suspending best practice Pin
Randor 13-Aug-08 7:53
professional Randor 13-Aug-08 7:53 
AnswerRe: Thread: Suspending best practice Pin
StevenS_Dev13-Aug-08 8:27
StevenS_Dev13-Aug-08 8:27 
AnswerRe: Thread: Suspending best practice Pin
Stephen Hewitt13-Aug-08 16:39
Stephen Hewitt13-Aug-08 16:39 
Don't use SuspendThread[^]. You're been lucky so far but I wouldn't count on that continuing. See this article on why you should never suspend a thread[^]. The documentation for SuspendThread[^] also points out the dangers of using it as you are:
 
This function is primarily designed for use by debuggers. It is not intended to be used for thread synchronization. Calling SuspendThread on a thread that owns a synchronization object, such as a mutex or critical section, can lead to a deadlock if the calling thread tries to obtain a synchronization object owned by a suspended thread. To avoid this situation, a thread within an application that is not a debugger should signal the other thread to suspend itself. The target thread must be designed to watch for this signal and respond appropriately.

QuestionIndexing Service Administration API Pin
kasi1413-Aug-08 6:12
kasi1413-Aug-08 6:12 
QuestionWindows XP and Modeless Dialogs Pin
Snaggles13-Aug-08 3:58
Snaggles13-Aug-08 3:58 
AnswerRe: Windows XP and Modeless Dialogs Pin
Randor 13-Aug-08 4:27
professional Randor 13-Aug-08 4:27 
AnswerRe: Windows XP and Modeless Dialogs Pin
vikas amin13-Aug-08 5:04
vikas amin13-Aug-08 5:04 
QuestionApplication and webpage/webservice interaction Pin
Monty213-Aug-08 3:56
Monty213-Aug-08 3:56 
AnswerRe: Application and webpage/webservice interaction Pin
vikas amin13-Aug-08 4:20
vikas amin13-Aug-08 4:20 
QuestionProblems when configuring Visual Studio ... Pin
SNArruda13-Aug-08 3:21
SNArruda13-Aug-08 3:21 
AnswerRe: Problems when configuring Visual Studio ... Pin
Cedric Moonen13-Aug-08 3:25
Cedric Moonen13-Aug-08 3:25 
AnswerRe: Problems when configuring Visual Studio ... Pin
David Crow13-Aug-08 3:27
David Crow13-Aug-08 3:27 
GeneralRe: Problems when configuring Visual Studio ... Pin
SNArruda13-Aug-08 3:34
SNArruda13-Aug-08 3:34 
QuestionI am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:11
ptr_Electron13-Aug-08 3:11 
AnswerRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Cedric Moonen13-Aug-08 3:15
Cedric Moonen13-Aug-08 3:15 
AnswerRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 3:17
Jijo.Raj13-Aug-08 3:17 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:20
ptr_Electron13-Aug-08 3:20 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Cedric Moonen13-Aug-08 3:42
Cedric Moonen13-Aug-08 3:42 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
ptr_Electron13-Aug-08 3:59
ptr_Electron13-Aug-08 3:59 
GeneralRe: I am using a thread for which I am sending structure as parameter... :( ending up with error C2440: '=' Pin
Jijo.Raj13-Aug-08 3:46
Jijo.Raj13-Aug-08 3:46 

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.