Click here to Skip to main content
15,909,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Code-o-mat2-Sep-10 11:27
Code-o-mat2-Sep-10 11:27 
Sorry i can't answer your actual question, since i don't know what cool memory leak detection ways there are but i not so long ago we ran into some memory-fragmentation problems with our projects and we had to dig a bit deeper into memory management to cope with it and we leartn a few new things.
You might be experiencing slight memory usage increase because -as far as i know- CRT doesn't always "physically" free up memory when you call delete/free, it preserves some amount so it can quickly reuse it when new allocations are needed, i think it mostly does that for smaller allocations because it is more efficient that way, am not sure how you could test if this is the case or not though...
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

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 
QuestionRe: Directory Info using GetFileInformationByHandleEx Pin
David Crow3-Sep-10 3:18
David Crow3-Sep-10 3:18 

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.