Click here to Skip to main content
15,887,436 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Create file with full permission control to user. Pin
Rajesh R Subramanian16-May-09 0:36
professionalRajesh R Subramanian16-May-09 0:36 
AnswerRe: Create file with full permission control to user. Pin
Le@rner17-May-09 18:56
Le@rner17-May-09 18:56 
QuestionHandling Shift + Tab key combination Pin
V K 215-May-09 19:31
V K 215-May-09 19:31 
AnswerRe: Handling Shift + Tab key combination Pin
zakkas248315-May-09 20:37
zakkas248315-May-09 20:37 
AnswerRe: Handling Shift + Tab key combination Pin
Taran915-May-09 20:49
Taran915-May-09 20:49 
AnswerRe: Handling Shift + Tab key combination Pin
Rajesh R Subramanian16-May-09 0:49
professionalRajesh R Subramanian16-May-09 0:49 
QuestionDoc/View application with docking pane Pin
Gagnon Claude15-May-09 13:12
Gagnon Claude15-May-09 13:12 
AnswerRe: Doc/View application with docking pane Pin
«_Superman_»15-May-09 20:46
professional«_Superman_»15-May-09 20: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 0:46
professionalRajesh R Subramanian16-May-09 0:46 
AnswerRe: Doc/View application with docking pane Pin
Stuart Dootson16-May-09 13:18
professionalStuart Dootson16-May-09 13:18 
QuestionCompiling error from stdafx.h [modified] Pin
transoft15-May-09 10:18
transoft15-May-09 10:18 
AnswerRe: Compiling error from stdafx.h Pin
Stuart Dootson15-May-09 13:01
professionalStuart Dootson15-May-09 13:01 
GeneralRe: Compiling error from stdafx.h Pin
transoft16-May-09 3:15
transoft16-May-09 3:15 
QuestionPassing multidimensional arrays to functions Pin
Royce Fickling15-May-09 9:45
Royce Fickling15-May-09 9:45 
AnswerRe: Passing multidimensional arrays to functions Pin
led mike15-May-09 10:19
led mike15-May-09 10:19 
QuestionRe: Passing multidimensional arrays to functions Pin
David Crow15-May-09 10:23
David Crow15-May-09 10:23 
QuestionWide char vs. ANSI char Pin
transoft15-May-09 7:32
transoft15-May-09 7:32 
AnswerRe: Wide char vs. ANSI char Pin
CPallini15-May-09 7:49
mveCPallini15-May-09 7:49 
AnswerRe: Wide char vs. ANSI char Pin
Rajesh R Subramanian16-May-09 0:20
professionalRajesh R Subramanian16-May-09 0:20 
GeneralRe: Wide char vs. ANSI char Pin
Joe Woodbury16-May-09 17:55
professionalJoe Woodbury16-May-09 17:55 
GeneralRe: Wide char vs. ANSI char [modified] Pin
Rajesh R Subramanian16-May-09 19:17
professionalRajesh R Subramanian16-May-09 19:17 
QuestionCurious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 5:51
Jim Crafton15-May-09 5:51 
AnswerRe: Curious COM question - the case of the second exe server... Pin
Nemanja Trifunovic15-May-09 7:37
Nemanja Trifunovic15-May-09 7:37 
GeneralRe: Curious COM question - the case of the second exe server... Pin
CPallini15-May-09 7:49
mveCPallini15-May-09 7:49 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 8:02
Jim Crafton15-May-09 8: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.