Click here to Skip to main content
15,916,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LPWSTR to CString Pin
ThatsAlok2-May-07 23:58
ThatsAlok2-May-07 23:58 
QuestionClosing all threads.. Pin
neha.agarwal2719-Apr-07 20:19
neha.agarwal2719-Apr-07 20:19 
AnswerRe: Closing all threads.. Pin
Roger Stoltz19-Apr-07 21:44
Roger Stoltz19-Apr-07 21:44 
GeneralRe: Closing all threads.. Pin
neha.agarwal2719-Apr-07 21:51
neha.agarwal2719-Apr-07 21:51 
GeneralRe: Closing all threads.. Pin
Roger Stoltz19-Apr-07 22:18
Roger Stoltz19-Apr-07 22:18 
GeneralRe: Closing all threads.. Pin
ThatsAlok2-May-07 23:56
ThatsAlok2-May-07 23:56 
AnswerRe: Closing all threads.. Pin
Atul2319-Apr-07 21:46
Atul2319-Apr-07 21:46 
AnswerRe: Closing all threads.. Pin
Eytukan21-Apr-07 0:14
Eytukan21-Apr-07 0:14 
Keep the boolean var that keeps the loop running global. It does the job for you.
Use the same variable to control the loops in all the threads. Setting that to false would let every thread jump out of the loops. And in the end you can check using the Wait functions to see if everything's closed properly. For that you need to maintain the handles in a structure as Roger just mentioned.



Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.

QuestionAbout RegisterDeviceNotification() Pin
Aneesh Valeri19-Apr-07 20:02
Aneesh Valeri19-Apr-07 20:02 
AnswerRe: About RegisterDeviceNotification() Pin
GeorgeVN22-Apr-07 19:48
GeorgeVN22-Apr-07 19:48 
QuestionPassing more than one Query String in a Site map Pin
kaushik49019-Apr-07 19:50
kaushik49019-Apr-07 19:50 
AnswerRe: Passing more than one Query String in a Site map Pin
satishjha6-Nov-11 21:36
satishjha6-Nov-11 21:36 
QuestionHow to Subclass a MessageBox Button.. [modified] Pin
sdhexu19-Apr-07 19:13
sdhexu19-Apr-07 19:13 
QuestionHow to keep track of the objects in an editor Pin
kasturi_haribabu19-Apr-07 18:54
kasturi_haribabu19-Apr-07 18:54 
QuestionHelp about New Document Pin
Md. Mazharul Islam Khan19-Apr-07 18:51
Md. Mazharul Islam Khan19-Apr-07 18:51 
QuestionWin32 Pin
Anish_Animaynia19-Apr-07 17:31
Anish_Animaynia19-Apr-07 17:31 
AnswerRe: Win32 Pin
CPallini19-Apr-07 20:39
mveCPallini19-Apr-07 20:39 
GeneralRe: Win32 Pin
Anish_Animaynia19-Apr-07 22:21
Anish_Animaynia19-Apr-07 22:21 
GeneralRe: Win32 Pin
Rajesh R Subramanian19-Apr-07 22:39
professionalRajesh R Subramanian19-Apr-07 22:39 
GeneralRe: Win32 Pin
Alexandre GRANVAUD20-Apr-07 1:56
Alexandre GRANVAUD20-Apr-07 1:56 
GeneralRe: Win32 Pin
CPallini20-Apr-07 2:20
mveCPallini20-Apr-07 2:20 
GeneralRe: Win32 Pin
Mark Salsbery20-Apr-07 8:08
Mark Salsbery20-Apr-07 8:08 
AnswerRe: Win32 Pin
ThatsAlok2-May-07 23:54
ThatsAlok2-May-07 23:54 
QuestionMutiple file specs to find a file Pin
JayCarter_Online19-Apr-07 13:25
JayCarter_Online19-Apr-07 13:25 
AnswerRe: Mutiple file specs to find a file Pin
pbraun19-Apr-07 13:55
pbraun19-Apr-07 13:55 

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.