EDN Admin
Well-known member
Hey all,
Im trying to use the VC++ Memory Leak detection utilites and while it seems to be working for the most part, I cant seem to get it to generate the File and Line information for me.
As per the information on this page: <a title="http://msdn2.microsoft.com/en-us/library/e5ewb1h3%28VS.80%29.aspx http://msdn2.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx http://msdn2.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx
I have included the given libraries and defined the _CRTDBG_MAP_ALLOC constant, but Im still not getting the file and line information when I call _CrtDumpMemoryLeaks.
In the process of writing this message I realized that it might be due to the fact that most of my code is using new. Is it possible to get file/line info using new?
On the otherhand, I have a C library that I wouldnt mind watching for allocations, so if I want to allow it to map the allocations from that library Im assuming that I need to recompile it with the above includes, correct?
View the full article
Im trying to use the VC++ Memory Leak detection utilites and while it seems to be working for the most part, I cant seem to get it to generate the File and Line information for me.
As per the information on this page: <a title="http://msdn2.microsoft.com/en-us/library/e5ewb1h3%28VS.80%29.aspx http://msdn2.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx http://msdn2.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx
I have included the given libraries and defined the _CRTDBG_MAP_ALLOC constant, but Im still not getting the file and line information when I call _CrtDumpMemoryLeaks.
In the process of writing this message I realized that it might be due to the fact that most of my code is using new. Is it possible to get file/line info using new?
On the otherhand, I have a C library that I wouldnt mind watching for allocations, so if I want to allow it to map the allocations from that library Im assuming that I need to recompile it with the above includes, correct?
View the full article