Debugging CoTaskMemAlloc
-
Is there a way in ATL to debug CoTaskMemAlloc/Realloc calls and make sure that CoTaskMemFree was called for every allocation? thanks Man Learns from History that he never learns from History
-
Is there a way in ATL to debug CoTaskMemAlloc/Realloc calls and make sure that CoTaskMemFree was called for every allocation? thanks Man Learns from History that he never learns from History
Check out
CoRegisterMallocSpy()
andIMallocSpy
, you can write a COM object and register it to be notified before and after allocs and frees. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Pinky, are you pondering what I'm pondering? I think so Brain, but how will we fit the hamster inside the accordion?