在应用程序的调试版本中定义 _CRTDBG_MAP_ALLOC 标志时,堆函数的基础版本将直接映射到其调试版本。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. 该标志在 Crtdbg.h 中用于执行映射。The flag is used in Crtdbg.h to do the mapping. 此标志仅当已在应用程序中定义 _DEBUG 标志时才可用。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.

请参阅See Also

控制标志Control Flags