One of my projects is to use Microsoft memory leak check with _CrtSetDbgFlag , etc. This works fine, except that now I want to use a third-party package that misses a small amount of memory. I do not need to fix the leaks, but the result is annoying, as it masks the "real" leaks that can be introduced.
How can I disable this leak check for a specific file or project, but leave it to others? I understand that it is activated through some #define in debug mode - I had a little fiddle, but I could not find something that I can disable #undef .
Peter source share