I'm having trouble using the CRT heap debugging facility in my mixed-mode
assembly DLL.
The assembly is built to conform with the loader-lock work arounds described
in KB article 814472
(http://support.microsoft.com/default...;en-us;814472). That is,
it links with msvcrt.lib, /noentry, and manually initializes the CRT in a
static method which is explicitly called by the client.
In that initialization method I call
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
Also the project is built with _CRTDBG_MAP_ALLOC defined.
But, I get no reports of leaks -- and there ought to be some since I
purposly added a few for testing (calling new on an unmanaged type, sans
delete's).
Help?
Nick Hodapp