afxMemDF

Syntax

int afxMemDF;

Remarks

An integer variable, easily accessible from a debugger, that tunes the allocation diagnostics. It can have the following values as specified by the enumeration afxMemDF:

allocMemDF Turns on debugging allocator (default setting in Debug library).
delayFreeMemDF Delays freeing memory. While your program frees a memory block.
checkAlwaysMemDF Calls AfxCheckMemory every time memory is allocated or freed. This will significantly slow memory allocations and deallocations.

Example

afxMemDF = delayFreeMemDF | checkAlwaysMemDF;