Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
afxMemDF
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  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, the allocator delays returning that
                     memory to the underlying operating system. This will
                     place maximum memory stress on your program.
 
  checkAlwaysMemDF   Calls AfxCheckMemory every time memory is allocated
                     or freed. This will significantly slow memory
                     allocations and deallocations.
 
  Example
 
  afxMemDF = delayFreeMemDF | checkAlwaysMemDF;
 
 
 
                                     -♦-