Memory Leaks
-
I get the following Memory Leaks warning when my Dialog MCF program ends.
Detected memory leaks! Dumping objects -> c:\hctsemu\emulation\exampledlg.cpp(1648) : {644378} client block at 0x013A0A70, subtype c0, 404 bytes long. a CSigDlg object at $013A0A70, 404 bytes long Object dump complete. The program '[3732] Example.exe: Native' has exited with code 20 (0x14).
This is using the following code to provide details:-// Memory leak detection #define _CRTDBG_MAP_ALLOC #include #include #include ".\ssic_exampledlg.h" // End of Memoy Leak detection stuff
Can any experts out there help me to home in on the memory leak please. Graham. grahamfff -
I get the following Memory Leaks warning when my Dialog MCF program ends.
Detected memory leaks! Dumping objects -> c:\hctsemu\emulation\exampledlg.cpp(1648) : {644378} client block at 0x013A0A70, subtype c0, 404 bytes long. a CSigDlg object at $013A0A70, 404 bytes long Object dump complete. The program '[3732] Example.exe: Native' has exited with code 20 (0x14).
This is using the following code to provide details:-// Memory leak detection #define _CRTDBG_MAP_ALLOC #include #include #include ".\ssic_exampledlg.h" // End of Memoy Leak detection stuff
Can any experts out there help me to home in on the memory leak please. Graham. grahamfffFind out where this CSigDlg object was created and where it should have been destroyed. The easiest way is to set breakpoints to the constructor and destructor of CSigDlg. Don't try it, just do it! ;-)
-
I get the following Memory Leaks warning when my Dialog MCF program ends.
Detected memory leaks! Dumping objects -> c:\hctsemu\emulation\exampledlg.cpp(1648) : {644378} client block at 0x013A0A70, subtype c0, 404 bytes long. a CSigDlg object at $013A0A70, 404 bytes long Object dump complete. The program '[3732] Example.exe: Native' has exited with code 20 (0x14).
This is using the following code to provide details:-// Memory leak detection #define _CRTDBG_MAP_ALLOC #include #include #include ".\ssic_exampledlg.h" // End of Memoy Leak detection stuff
Can any experts out there help me to home in on the memory leak please. Graham. grahamfffGrahamfff wrote: c:\hctsemu\emulation\exampledlg.cpp(1648) : {644378} client block at 0x013A0A70, subtype c0, 404 bytes long. what is the code at that line ? is there a malloc or new or something else there ?
Maximilien Lincourt Your Head A Splode - Strong Bad
-
I get the following Memory Leaks warning when my Dialog MCF program ends.
Detected memory leaks! Dumping objects -> c:\hctsemu\emulation\exampledlg.cpp(1648) : {644378} client block at 0x013A0A70, subtype c0, 404 bytes long. a CSigDlg object at $013A0A70, 404 bytes long Object dump complete. The program '[3732] Example.exe: Native' has exited with code 20 (0x14).
This is using the following code to provide details:-// Memory leak detection #define _CRTDBG_MAP_ALLOC #include #include #include ".\ssic_exampledlg.h" // End of Memoy Leak detection stuff
Can any experts out there help me to home in on the memory leak please. Graham. grahamfffSo what is at line 1648 of exampledlg.cpp?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow