Memory Leakage !!!!
-
Sir....I am facing one serious problem of memory leakage. I have developed one dialog based application. In that I have made one class named "CListener" derived from CWinThread. In the InitInstance() function of that class, I have added functionality which I want to perform in separate thread. From the dialog class's OnInitDialog() function I have made the following function call to run the thread. AfxBeginThread(RUNTIME_CLASS(CListener)); All are working fine.....But when I close application Visual C++ IDE show me some memory leackage..... Whould you please show me the way to escap from this problem.... C.R.Naik
-
Sir....I am facing one serious problem of memory leakage. I have developed one dialog based application. In that I have made one class named "CListener" derived from CWinThread. In the InitInstance() function of that class, I have added functionality which I want to perform in separate thread. From the dialog class's OnInitDialog() function I have made the following function call to run the thread. AfxBeginThread(RUNTIME_CLASS(CListener)); All are working fine.....But when I close application Visual C++ IDE show me some memory leackage..... Whould you please show me the way to escap from this problem.... C.R.Naik