Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete Pin
Cedric Moonen2-Sep-10 23:05
Cedric Moonen2-Sep-10 23:05 
AnswerRe: delete Pin
ThatsAlok3-Sep-10 0:51
ThatsAlok3-Sep-10 0:51 
QuestionSerialization Pin
ganesh_IT2-Sep-10 20:51
ganesh_IT2-Sep-10 20:51 
AnswerRe: Serialization Pin
Cedric Moonen2-Sep-10 20:58
Cedric Moonen2-Sep-10 20:58 
AnswerRe: Serialization Pin
CPallini2-Sep-10 22:03
mveCPallini2-Sep-10 22:03 
QuestionHow can control incresing size of FormView? Pin
Le@rner2-Sep-10 20:51
Le@rner2-Sep-10 20:51 
AnswerRe: How can control incresing size of FormView? Pin
Blake Miller3-Sep-10 12:12
Blake Miller3-Sep-10 12:12 
Questionmemory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 10:38
Dave Calkins2-Sep-10 10:38 
What's the latest best approach to finding memory leaks in unmanaged C++ MFC code? I've read about LeakDiag but the latest version of that is a bit old (which leads me to guessing its not maintained anymore).

I have a case where I get persistent memory growth after an operation. I do the operation which loads a bunch of data, then I free it all, and at the end my memory usage is up a bit from where it was before I loaded the data. I'm looking at Private Bytes and Working Set in Process Explorer and my app uses directly the Windows Heap APIs as well as CRT new/delete for allocating/freeing memory.

I ran in the debugger (I'm using VS2005) and it didn't complain about any leaks as it sometimes does when you have leaks.
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Code-o-mat2-Sep-10 11:27
Code-o-mat2-Sep-10 11:27 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 11:31
Dave Calkins2-Sep-10 11:31 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Joe Woodbury2-Sep-10 12:26
professionalJoe Woodbury2-Sep-10 12:26 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Maximilien2-Sep-10 14:15
Maximilien2-Sep-10 14:15 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 14:17
Dave Calkins2-Sep-10 14:17 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Aescleal2-Sep-10 13:16
Aescleal2-Sep-10 13:16 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 14:18
Dave Calkins2-Sep-10 14:18 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
CPallini2-Sep-10 23:55
mveCPallini2-Sep-10 23:55 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
viniaks2-Sep-10 17:06
viniaks2-Sep-10 17:06 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:09
Dave Calkins3-Sep-10 14:09 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Rick York3-Sep-10 6:56
mveRick York3-Sep-10 6:56 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:08
Dave Calkins3-Sep-10 14:08 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Blake Miller3-Sep-10 12:16
Blake Miller3-Sep-10 12:16 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:09
Dave Calkins3-Sep-10 14:09 
QuestionDirectory Info using GetFileInformationByHandleEx Pin
gothic_coder2-Sep-10 3:48
gothic_coder2-Sep-10 3:48 
AnswerRe: Directory Info using GetFileInformationByHandleEx Pin
«_Superman_»2-Sep-10 17:45
professional«_Superman_»2-Sep-10 17:45 
GeneralRe: Directory Info using GetFileInformationByHandleEx Pin
gothic_coder2-Sep-10 21:02
gothic_coder2-Sep-10 21:02 

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.