Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Xml parsing using c++ Pin
Jijo.Raj29-Nov-08 6:00
Jijo.Raj29-Nov-08 6:00 
AnswerRe: Xml parsing using c++ Pin
Peter Weyzen29-Nov-08 8:36
Peter Weyzen29-Nov-08 8:36 
AnswerRe: Xml parsing using c++ Pin
Hamid_RT30-Nov-08 1:27
Hamid_RT30-Nov-08 1:27 
QuestionDoes the applications those support online updating usually use COM? Pin
followait28-Nov-08 22:55
followait28-Nov-08 22:55 
Questionthread confusions Pin
anilaabc28-Nov-08 22:07
anilaabc28-Nov-08 22:07 
AnswerRe: thread confusions Pin
sashoalm29-Nov-08 0:12
sashoalm29-Nov-08 0:12 
AnswerRe: thread confusions Pin
Code-o-mat29-Nov-08 0:20
Code-o-mat29-Nov-08 0:20 
AnswerRe: thread confusions Pin
Mark Salsbery29-Nov-08 7:20
Mark Salsbery29-Nov-08 7:20 
anilaabc wrote:
1.when a thread complete its execution ,can we restart its execution using same handle ?


No.

anilaabc wrote:
2.when a thread complete its execution is it cosuming resources?


Yes. From the docs:

"The thread object remains in the system until the thread has terminated
and all handles to it have been closed through a call to CloseHandle
"


anilaabc wrote:
i m using multimedia timer to start threads at regular interval


Is there a reason you can't just use the timer thread?


You may want to look into creating a pool of threads so you don't have to create
and destroy them rapidly.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: thread confusions Pin
anilaabc30-Nov-08 22:20
anilaabc30-Nov-08 22:20 
GeneralRe: thread confusions Pin
Mark Salsbery1-Dec-08 5:43
Mark Salsbery1-Dec-08 5:43 
GeneralRe: thread confusions Pin
anilaabc1-Dec-08 22:08
anilaabc1-Dec-08 22:08 
QuestionI want to run thread at regular interval in multimedia timer,how should i do?please tell me the better approch Pin
anilaabc28-Nov-08 21:29
anilaabc28-Nov-08 21:29 
AnswerRe: I want to run thread at regular interval in multimedia timer,how should i do?please tell me the better approch Pin
Garth J Lancaster28-Nov-08 23:43
professionalGarth J Lancaster28-Nov-08 23:43 
GeneralRe: I want to run thread at regular interval in multimedia timer,how should i do?please tell me the better approch Pin
anilaabc30-Nov-08 22:15
anilaabc30-Nov-08 22:15 
QuestionHow to use delete for CStringList Pin
Max++28-Nov-08 19:04
Max++28-Nov-08 19:04 
AnswerRe: How to use delete for CStringList Pin
Mark Salsbery28-Nov-08 19:16
Mark Salsbery28-Nov-08 19:16 
QuestionTerminating threads cleanly in a DLL when it is unloaded Pin
Code-o-mat28-Nov-08 11:19
Code-o-mat28-Nov-08 11:19 
AnswerRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Mark Salsbery28-Nov-08 11:57
Mark Salsbery28-Nov-08 11:57 
GeneralRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Code-o-mat28-Nov-08 12:20
Code-o-mat28-Nov-08 12:20 
GeneralRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Randor 28-Nov-08 12:37
professional Randor 28-Nov-08 12:37 
GeneralRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Code-o-mat29-Nov-08 0:23
Code-o-mat29-Nov-08 0:23 
GeneralRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Randor 29-Nov-08 17:24
professional Randor 29-Nov-08 17:24 
AnswerRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Richard Andrew x6428-Nov-08 12:40
professionalRichard Andrew x6428-Nov-08 12:40 
GeneralRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Code-o-mat28-Nov-08 23:39
Code-o-mat28-Nov-08 23:39 
AnswerRe: Terminating threads cleanly in a DLL when it is unloaded Pin
Jijo.Raj28-Nov-08 12:41
Jijo.Raj28-Nov-08 12:41 

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.