Click here to Skip to main content
15,848,555 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Create file with full permission control to user. Pin
Rajesh R Subramanian16-May-09 1:36
professionalRajesh R Subramanian16-May-09 1:36 
AnswerRe: Create file with full permission control to user. Pin
Le@rner17-May-09 19:56
Le@rner17-May-09 19:56 
QuestionHandling Shift + Tab key combination Pin
V K 215-May-09 20:31
V K 215-May-09 20:31 
AnswerRe: Handling Shift + Tab key combination Pin
zakkas248315-May-09 21:37
zakkas248315-May-09 21:37 
AnswerRe: Handling Shift + Tab key combination Pin
Taran915-May-09 21:49
Taran915-May-09 21:49 
AnswerRe: Handling Shift + Tab key combination Pin
Rajesh R Subramanian16-May-09 1:49
professionalRajesh R Subramanian16-May-09 1:49 
QuestionDoc/View application with docking pane Pin
Gagnon Claude15-May-09 14:12
Gagnon Claude15-May-09 14:12 
AnswerRe: Doc/View application with docking pane Pin
«_Superman_»15-May-09 21:46
professional«_Superman_»15-May-09 21:46 
The code that you have shown does not appear to have any memory leaks.

Search for the new keyword or functions like HeapAlloc, GlobalAlloc, VirtualAlloc etc. in all the code. Then you can see if the allocated memory is being freed.

Alternatively you can use the _CrtMemCheckpoint and _CrtMemDifference functions to find exactly where the memory leak happens.

«_Superman
I love work. It gives me something to do between weekends.

AnswerRe: Doc/View application with docking pane Pin
Rajesh R Subramanian16-May-09 1:46
professionalRajesh R Subramanian16-May-09 1:46 
AnswerRe: Doc/View application with docking pane Pin
Stuart Dootson16-May-09 14:18
professionalStuart Dootson16-May-09 14:18 
QuestionCompiling error from stdafx.h [modified] Pin
transoft15-May-09 11:18
transoft15-May-09 11:18 
AnswerRe: Compiling error from stdafx.h Pin
Stuart Dootson15-May-09 14:01
professionalStuart Dootson15-May-09 14:01 
GeneralRe: Compiling error from stdafx.h Pin
transoft16-May-09 4:15
transoft16-May-09 4:15 
QuestionPassing multidimensional arrays to functions Pin
Royce Fickling15-May-09 10:45
Royce Fickling15-May-09 10:45 
AnswerRe: Passing multidimensional arrays to functions Pin
led mike15-May-09 11:19
led mike15-May-09 11:19 
QuestionRe: Passing multidimensional arrays to functions Pin
David Crow15-May-09 11:23
David Crow15-May-09 11:23 
QuestionWide char vs. ANSI char Pin
transoft15-May-09 8:32
transoft15-May-09 8:32 
AnswerRe: Wide char vs. ANSI char Pin
CPallini15-May-09 8:49
mveCPallini15-May-09 8:49 
AnswerRe: Wide char vs. ANSI char Pin
Rajesh R Subramanian16-May-09 1:20
professionalRajesh R Subramanian16-May-09 1:20 
GeneralRe: Wide char vs. ANSI char Pin
Joe Woodbury16-May-09 18:55
professionalJoe Woodbury16-May-09 18:55 
GeneralRe: Wide char vs. ANSI char [modified] Pin
Rajesh R Subramanian16-May-09 20:17
professionalRajesh R Subramanian16-May-09 20:17 
QuestionCurious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 6:51
Jim Crafton15-May-09 6:51 
AnswerRe: Curious COM question - the case of the second exe server... Pin
Nemanja Trifunovic15-May-09 8:37
Nemanja Trifunovic15-May-09 8:37 
GeneralRe: Curious COM question - the case of the second exe server... Pin
CPallini15-May-09 8:49
mveCPallini15-May-09 8:49 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 9:02
Jim Crafton15-May-09 9: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.