Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete memory Pin
KarstenK10-Aug-07 2:17
mveKarstenK10-Aug-07 2:17 
GeneralRe: delete memory Pin
David Crow10-Aug-07 3:19
David Crow10-Aug-07 3:19 
GeneralRe: delete memory Pin
KarstenK10-Aug-07 3:27
mveKarstenK10-Aug-07 3:27 
GeneralRe: delete memory Pin
David Crow10-Aug-07 3:29
David Crow10-Aug-07 3:29 
GeneralRe: delete memory Pin
KarstenK10-Aug-07 3:40
mveKarstenK10-Aug-07 3:40 
GeneralRe: delete memory Pin
David Crow10-Aug-07 3:50
David Crow10-Aug-07 3:50 
QuestionQuery regarding terminating a thread. Pin
Rajesh_Parameswaran10-Aug-07 1:23
Rajesh_Parameswaran10-Aug-07 1:23 
AnswerRe: Query regarding terminating a thread. Pin
jhwurmbach10-Aug-07 1:42
jhwurmbach10-Aug-07 1:42 
Rajesh_Parameswaran wrote:
I'm calling terminatethread. Is this the right way of doing?


No.
TeminateThread() is almost always the wrong solution.
Use a variable whose pointer you hand to the thread, and have the thread terminate itself when the outside pulls this variable to false.

Also, read the following stuff (made by Christian Grauss who is a codeproject regular):
The Processes Articles[^]


Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

AnswerRe: Query regarding terminating a thread. Pin
KarstenK10-Aug-07 3:15
mveKarstenK10-Aug-07 3:15 
GeneralRe: Query regarding terminating a thread. Pin
Rajesh_Parameswaran10-Aug-07 5:56
Rajesh_Parameswaran10-Aug-07 5:56 
GeneralRe: Query regarding terminating a thread. Pin
KarstenK12-Aug-07 21:21
mveKarstenK12-Aug-07 21:21 
Questionhow to output text file in C++/MFC Pin
tunminshein10-Aug-07 0:56
tunminshein10-Aug-07 0:56 
AnswerRe: how to output text file in C++/MFC Pin
baerten10-Aug-07 1:08
baerten10-Aug-07 1:08 
AnswerRe: how to output text file in C++/MFC Pin
Hamid_RT10-Aug-07 1:11
Hamid_RT10-Aug-07 1:11 
AnswerRe: how to output text file in C++/MFC Pin
KarstenK10-Aug-07 1:14
mveKarstenK10-Aug-07 1:14 
AnswerRe: how to output text file in C++/MFC Pin
Anurag Gandhi10-Aug-07 1:23
professionalAnurag Gandhi10-Aug-07 1:23 
AnswerRe: how to output text file in C++/MFC Pin
jhwurmbach10-Aug-07 1:34
jhwurmbach10-Aug-07 1:34 
Questionregarding statusbar display Pin
mirraa10-Aug-07 0:21
mirraa10-Aug-07 0:21 
AnswerRe: regarding statusbar display Pin
Hamid_RT10-Aug-07 0:38
Hamid_RT10-Aug-07 0:38 
AnswerRe: regarding statusbar display Pin
KarstenK10-Aug-07 2:21
mveKarstenK10-Aug-07 2:21 
QuestionHow to resolve this compile time error? Pin
Mushtaque Nizamani10-Aug-07 0:01
Mushtaque Nizamani10-Aug-07 0:01 
AnswerRe: How to resolve this compile time error? Pin
Cedric Moonen10-Aug-07 0:09
Cedric Moonen10-Aug-07 0:09 
GeneralRe: How to resolve this compile time error? Pin
Mushtaque Nizamani10-Aug-07 0:15
Mushtaque Nizamani10-Aug-07 0:15 
AnswerRe: How to resolve this compile time error? Pin
prasad_som10-Aug-07 0:10
prasad_som10-Aug-07 0:10 
AnswerRe: How to resolve this compile time error? Pin
Hamid_RT10-Aug-07 0:31
Hamid_RT10-Aug-07 0:31 

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.