Hi,I'm trying to find memory leaks by using _CrtSetAllocHook.As far as I understand I'm supposed to receive notifications whenever a memory chunk is allocated or freed, but I don't get any but the one when I close my application and then when I exit my hooking function - it crashes...what am I doing wrong?I'd also like to know how can I monitor a specific process (other than my C# program), Does _CrtSetAllocHook gets all the system's allocations?
thanks in advance :)
Here's my code:
[
{
m_hook =
}