December 28th, 2012, 02:35 AM
December 27th, 2012, 05:09 AM
Hello Ovidiu,
the DLLs are not developed by me. I have to use it and find the bugs!!!!!
Very bad....
But do not think about further. My problem is solved for the moment.
Ralf
December 25th, 2012, 03:48 AM
e.g.
char* zz=new char[10]; // without releasing later!
somewhere in the code.
December 24th, 2012, 04:31 AM
maybe there are no memory leaks?
Then there is no report!
December 24th, 2012, 02:40 AM
Hello,
do you refer to my link?
In MFC you do not need it. The leaks will be shown at the end of the programme in debug mode with VC++ automatically.
Ralf
December 20th, 2012, 08:59 AM
Hallo Alex,
thx. The problem were C++ new.
I found this and it helps:
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/5a98b72e-c927-4f4b-9441-8a73575dfb10/
Ralf
December 20th, 2012, 07:40 AM
Hello Alex,
thx. I am one step further!
The calling app is mfc. The dll non-mfc.
Now, I included
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
in the header files of the...
December 20th, 2012, 06:25 AM
It have!!!!
To check it, I write this code:
char* fgh=new char[10];
But it will not be shown.
Ralf
December 20th, 2012, 05:52 AM
Hello,
when ending my app in the debugger, memory leaks will be shown like this:
Detected memory leaks!
Dumping objects ->
C:\PROGRAM FILES\VISUAL STUDIO\MyProjects\leaktest\leaktest.cpp(20) :...