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.
AfxEnableMemoryTracking
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL PASCAL AfxEnableMemoryTracking( BOOL bTrack );
 
  Parameter   Description
 
  <bTrack>    TRUE turns on memory tracking; FALSE turns it off.
 
  Remarks
 
  Diagnostic memory tracking is normally enabled in the Debug version of
  the Microsoft Foundation classes. Use this function to disable tracking
  on sections of your code that you know are allocating blocks correctly.
 
  Return Value
 
  The previous setting of the tracking-enable flag.
 
 
                                     -♦-