Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTrapping keystrokes globally Pin
Vancouver9-Nov-04 17:40
Vancouver9-Nov-04 17:40 
GeneralRe: Trapping keystrokes globally Pin
ThatsAlok9-Nov-04 18:11
ThatsAlok9-Nov-04 18:11 
GeneralRe: Trapping keystrokes globally Pin
Vancouver9-Nov-04 18:42
Vancouver9-Nov-04 18:42 
GeneralRe: Trapping keystrokes globally Pin
ThatsAlok9-Nov-04 18:59
ThatsAlok9-Nov-04 18:59 
GeneralWindows Forms Pin
NormBohana9-Nov-04 17:14
NormBohana9-Nov-04 17:14 
GeneralCleaning up memory Pin
mdykstra9-Nov-04 17:00
mdykstra9-Nov-04 17:00 
GeneralRe: Cleaning up memory Pin
David Crow10-Nov-04 4:17
David Crow10-Nov-04 4:17 
GeneralRe: Cleaning up memory Pin
John R. Shaw10-Nov-04 7:19
John R. Shaw10-Nov-04 7:19 
Well the first thing you should do is get a memory validator program that checks for resource leaks. There are several out there, I use Bounds Checker but I sure one of the others would work just as well. It has been a while since I visited any of thier sites, but they usualy offer a 30 day free trial that you can download, so it is well worth trying.

If the nodes of the tree are actualy class that allocate memory, you could be leaking it there. Since malloc and free no nothing about destructors and therefor will not call them, use new and delete instead.

You could also try using the memory validation functions in the SDK, they require adding additional code to your program inorder to use them, but I understand they work quite well. I beleive there is at least one article at CP some where, on this subject.

Good Luck!

INTP
Questionhow to get finished time for sound Pin
vc-programmer-9-Nov-04 16:52
vc-programmer-9-Nov-04 16:52 
AnswerRe: how to get finished time for sound Pin
David Crow10-Nov-04 4:24
David Crow10-Nov-04 4:24 
QuestionHow to get volume letter of a USB disk through PID&VID? Pin
Amanda Davis9-Nov-04 16:07
Amanda Davis9-Nov-04 16:07 
AnswerRe: How to get volume letter of a USB disk through PID&VID? Pin
Amanda Davis11-Nov-04 16:58
Amanda Davis11-Nov-04 16:58 
GeneralRe: How to get volume letter of a USB disk through PID&VID? Pin
Amanda Davis15-Nov-04 15:04
Amanda Davis15-Nov-04 15:04 
Generalnew to .net Pin
Anonymous9-Nov-04 16:02
Anonymous9-Nov-04 16:02 
GeneralRe: new to .net Pin
Anonymous9-Nov-04 16:19
Anonymous9-Nov-04 16:19 
GeneralRe: new to .net Pin
RChin9-Nov-04 23:31
RChin9-Nov-04 23:31 
QuestionWhat's icon shell32.dll,84 used? Pin
internal9-Nov-04 14:40
internal9-Nov-04 14:40 
QuestionHow do I get Tool window back Pin
Don129-Nov-04 14:06
Don129-Nov-04 14:06 
AnswerRe: How do I get Tool window back Pin
ThatsAlok9-Nov-04 18:14
ThatsAlok9-Nov-04 18:14 
Generalwindiff usage Pin
rmnowick9-Nov-04 12:47
rmnowick9-Nov-04 12:47 
GeneralRe: windiff usage Pin
Andrew Walker9-Nov-04 14:50
Andrew Walker9-Nov-04 14:50 
Generalget files in directory Pin
Fernando A. Gomez F.9-Nov-04 12:38
Fernando A. Gomez F.9-Nov-04 12:38 
GeneralRe: get files in directory Pin
Andrew Walker9-Nov-04 15:11
Andrew Walker9-Nov-04 15:11 
GeneralDisabling menu options... Pin
help_wanted9-Nov-04 11:54
help_wanted9-Nov-04 11:54 
GeneralRe: Disabling menu options... Pin
nguyenvhn9-Nov-04 15:10
nguyenvhn9-Nov-04 15:10 

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.