Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question#include "testView.h" in MainFrm.cpp [modified] Pin
cy163@hotmail.com7-Jan-11 2:24
cy163@hotmail.com7-Jan-11 2:24 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
Niklas L7-Jan-11 2:43
Niklas L7-Jan-11 2:43 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 3:31
cy163@hotmail.com7-Jan-11 3:31 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
User 74293387-Jan-11 3:53
professionalUser 74293387-Jan-11 3:53 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 4:07
cy163@hotmail.com7-Jan-11 4:07 
Questionhow to display bitmap on button using vc++ Pin
rajniyadav1a7-Jan-11 0:25
rajniyadav1a7-Jan-11 0:25 
AnswerRe: how to display bitmap on button using vc++ Pin
ShilpiP7-Jan-11 1:15
ShilpiP7-Jan-11 1:15 
QuestionHelp with PR_JoinThread Pin
manabouttown6-Jan-11 22:09
manabouttown6-Jan-11 22:09 
Hi,

This question is more from the point of view of Threads than C/C++. I have a destroy() function which waits on a thread (lets say _monitor) through PR_JoinThread(). The problem is that the _monitor thread has various time-oriented operations such as read()/write() socket calls so it takes time to finish off before exiting. Hence the destroy() function due to this PR_JoinThread which waits on the _monitor to exit is hanging the process (my product creates around 80-90 such threads) for around 6-7 minutes. Can anyone tell me the way to avoid such a situation? Is there any way other than using PR_JoinThread?

Thanks.
AnswerRe: Help with PR_JoinThread Pin
Code-o-mat6-Jan-11 23:08
Code-o-mat6-Jan-11 23:08 
QuestionHextoCString conversion Pin
S p k 5216-Jan-11 19:58
S p k 5216-Jan-11 19:58 
AnswerRe: HextoCString conversion Pin
ShilpiP6-Jan-11 20:41
ShilpiP6-Jan-11 20:41 
AnswerRe: HextoCString conversion Pin
Richard MacCutchan6-Jan-11 21:42
mveRichard MacCutchan6-Jan-11 21:42 
GeneralRe: HextoCString conversion Pin
S p k 5216-Jan-11 22:27
S p k 5216-Jan-11 22:27 
GeneralRe: HextoCString conversion Pin
Satheesh15466-Jan-11 22:45
Satheesh15466-Jan-11 22:45 
GeneralRe: HextoCString conversion Pin
S p k 5216-Jan-11 22:47
S p k 5216-Jan-11 22:47 
GeneralRe: HextoCString conversion Pin
Richard MacCutchan7-Jan-11 0:19
mveRichard MacCutchan7-Jan-11 0:19 
GeneralRe: HextoCString conversion Pin
Cool_Dev6-Jan-11 23:32
Cool_Dev6-Jan-11 23:32 
QuestionRe: HextoCString conversion Pin
David Crow7-Jan-11 4:15
David Crow7-Jan-11 4:15 
AnswerRe: HextoCString conversion Pin
Nuri Ismail6-Jan-11 22:55
Nuri Ismail6-Jan-11 22:55 
GeneralRe: HextoCString conversion Pin
S p k 5217-Jan-11 1:01
S p k 5217-Jan-11 1:01 
QuestionActiveX Component use 2D graph? Pin
mathivanaan6-Jan-11 17:40
mathivanaan6-Jan-11 17:40 
AnswerRe: ActiveX Component use 2D graph? Pin
_AnsHUMAN_ 6-Jan-11 18:09
_AnsHUMAN_ 6-Jan-11 18:09 
QuestionOne-click close inactive child modeless dialog Pin
Tadeusz Westawic6-Jan-11 1:28
Tadeusz Westawic6-Jan-11 1:28 
QuestionJPEG Image to an array format Pin
raju_shiva6-Jan-11 0:38
raju_shiva6-Jan-11 0:38 
AnswerRe: JPEG Image to an array format Pin
User 74293386-Jan-11 1:03
professionalUser 74293386-Jan-11 1:03 

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.