Click here to Skip to main content
15,888,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to use visual leak detector Pin
Hans Dietrich6-Apr-11 1:18
mentorHans Dietrich6-Apr-11 1:18 
GeneralRe: how to use visual leak detector Pin
shashankacharya6-Apr-11 1:30
shashankacharya6-Apr-11 1:30 
AnswerRe: how to use visual leak detector Pin
Pravin Patil, Mumbai6-Apr-11 1:18
Pravin Patil, Mumbai6-Apr-11 1:18 
GeneralRe: how to use visual leak detector Pin
shashankacharya6-Apr-11 17:07
shashankacharya6-Apr-11 17:07 
QuestionMemory leak during termination of thread Pin
shashankacharya5-Apr-11 23:51
shashankacharya5-Apr-11 23:51 
AnswerRe: Memory leak during termination of thread Pin
Cedric Moonen6-Apr-11 0:07
Cedric Moonen6-Apr-11 0:07 
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 0:19
shashankacharya6-Apr-11 0:19 
AnswerRe: Memory leak during termination of thread Pin
heliboy6-Apr-11 0:16
heliboy6-Apr-11 0:16 
First, do not use TerminateThread() to forcely terminate thread. The best way is let the thread terminate itself. If you want to terminate thread while thread is running, set a flag to notify the thread and let it self-terminate. Read the book "Multithreading Applications in Win32", a good book you need to read before you use multithread.

Second, you need to check your code to see where you dynamic created variable but not delete it upon thread exit. You need to check this yourself, no other people can help you.
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 0:24
shashankacharya6-Apr-11 0:24 
GeneralRe: Memory leak during termination of thread Pin
Albert Holguin6-Apr-11 17:19
professionalAlbert Holguin6-Apr-11 17:19 
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 22:16
shashankacharya6-Apr-11 22:16 
QuestionConflicting Resource IDs Pin
softwaremonkey5-Apr-11 20:32
softwaremonkey5-Apr-11 20:32 
AnswerRe: Conflicting Resource IDs Pin
Hans Dietrich5-Apr-11 22:24
mentorHans Dietrich5-Apr-11 22:24 
GeneralRe: Conflicting Resource IDs Pin
softwaremonkey6-Apr-11 0:33
softwaremonkey6-Apr-11 0:33 
GeneralRe: Conflicting Resource IDs Pin
softwaremonkey6-Apr-11 10:17
softwaremonkey6-Apr-11 10:17 
AnswerRe: Conflicting Resource IDs Pin
Hans Dietrich6-Apr-11 16:13
mentorHans Dietrich6-Apr-11 16:13 
Questionfabs with SSE Pin
9ine5-Apr-11 2:19
9ine5-Apr-11 2:19 
AnswerRe: fabs with SSE Pin
Chris Losinger5-Apr-11 2:33
professionalChris Losinger5-Apr-11 2:33 
AnswerRe: fabs with SSE Pin
Ozer Karaagac5-Apr-11 16:35
professionalOzer Karaagac5-Apr-11 16:35 
QuestionUi Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 1:34
rahul.kulshreshtha5-Apr-11 1:34 
AnswerRe: Ui Problem in Vista and above Pin
Hans Dietrich5-Apr-11 2:16
mentorHans Dietrich5-Apr-11 2:16 
GeneralRe: Ui Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 5:45
rahul.kulshreshtha5-Apr-11 5:45 
AnswerRe: Ui Problem in Vista and above Pin
Charles Oppermann5-Apr-11 5:04
Charles Oppermann5-Apr-11 5:04 
GeneralRe: Ui Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 5:47
rahul.kulshreshtha5-Apr-11 5:47 
QuestionMessage loop Query Pin
pandit845-Apr-11 1:15
pandit845-Apr-11 1:15 

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.