Quote:
> Hi,
> how could I turn on tracing of allocations/deallocations when using the
STL
> classes (and NOT using MFC). More specifically I'd need the file name and
> line number of the allocations that caused a memory leak.
> I'm currently getting info on memory leaks that happen and their size, but
I
> can't get it to work with the extra information.
> TIA // Johan
Define this macro : _CRTDBG_MAP_ALLOC
and you will get also the file and line number of allocation.