Click here to Skip to main content
15,889,200 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmp3 processing Pin
Lampros Giampouras10-Oct-05 11:31
Lampros Giampouras10-Oct-05 11:31 
QuestionTree control with check boxes Pin
nsnewbee10-Oct-05 11:29
nsnewbee10-Oct-05 11:29 
AnswerRe: Tree control with check boxes Pin
Mircea Puiu10-Oct-05 23:03
Mircea Puiu10-Oct-05 23:03 
GeneralRe: Tree control with check boxes Pin
nsnewbee12-Oct-05 5:16
nsnewbee12-Oct-05 5:16 
Questionneed help please Pin
Member 233458610-Oct-05 11:24
Member 233458610-Oct-05 11:24 
AnswerRe: need help please Pin
Christian Graus10-Oct-05 12:02
protectorChristian Graus10-Oct-05 12:02 
GeneralRe: need help please Pin
Max Santos10-Oct-05 15:57
Max Santos10-Oct-05 15:57 
QuestionStopping a UI thread Pin
LighthouseJ10-Oct-05 10:56
LighthouseJ10-Oct-05 10:56 
I have a UI thread that works but I'm trying to figure out how to reliably stop the thread. The OnIdle function in the thread periodically calls WaitForSingleObject on a particular event, if it's set, it calls PostQuitMessage that we are quitting and then returns 0 to signal it doesn't need to run anymore. Half of the time this thread and the main one deadlock, sometimes I get some CResourceException and I don't trust it to stop the thread cleanly. I've read plenty on how to terminate the thread but it feels like it's not enough and doesn't always work. Does anyone have any pointers or a good way to stop the thread cleanly from outside of the thread?
Questionconfusion with __stdcall Pin
Chintoo72310-Oct-05 8:40
Chintoo72310-Oct-05 8:40 
AnswerRe: confusion with __stdcall Pin
Chris Losinger10-Oct-05 8:55
professionalChris Losinger10-Oct-05 8:55 
GeneralRe: confusion with __stdcall Pin
Chintoo72310-Oct-05 16:09
Chintoo72310-Oct-05 16:09 
QuestionInstaller Package Pin
benjnp10-Oct-05 8:38
benjnp10-Oct-05 8:38 
AnswerRe: Installer Package Pin
Christian Graus10-Oct-05 9:18
protectorChristian Graus10-Oct-05 9:18 
GeneralRe: Installer Package Pin
benjnp10-Oct-05 10:28
benjnp10-Oct-05 10:28 
GeneralRe: Installer Package Pin
Christian Graus10-Oct-05 10:29
protectorChristian Graus10-Oct-05 10:29 
GeneralRe: Installer Package Pin
benjnp10-Oct-05 10:45
benjnp10-Oct-05 10:45 
AnswerRe: Installer Package Pin
Wes Aday10-Oct-05 9:20
professionalWes Aday10-Oct-05 9:20 
QuestionWindows 2000 concerns Pin
benjnp10-Oct-05 8:33
benjnp10-Oct-05 8:33 
QuestionRe: Windows 2000 concerns Pin
David Crow10-Oct-05 9:49
David Crow10-Oct-05 9:49 
AnswerRe: Windows 2000 concerns Pin
benjnp10-Oct-05 10:25
benjnp10-Oct-05 10:25 
GeneralRe: Windows 2000 concerns Pin
David Crow10-Oct-05 16:21
David Crow10-Oct-05 16:21 
GeneralRe: Windows 2000 concerns Pin
benjnp10-Oct-05 17:54
benjnp10-Oct-05 17:54 
QuestionProgramatically detecting a debugger Pin
pinhigh2k10-Oct-05 8:23
pinhigh2k10-Oct-05 8:23 
AnswerRe: Programatically detecting a debugger Pin
pinhigh2k10-Oct-05 9:25
pinhigh2k10-Oct-05 9:25 
GeneralMFC screen updates Pin
dzldan10-Oct-05 7:35
dzldan10-Oct-05 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.