|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
When the _CRTDBG_MAP_ALLOC flag is defined in the debug version of an application, the base version of the heap functions are directly mapped to their debug versions. This flag is declared in Crtdbg.h. This flag is only available when the _DEBUG flag has been defined in the application.
For more information about using the debug version versus the base version of a heap function, see Using the Debug Version Versus the Base Version.