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.
General Diagnostic Macros
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  The following list describes general diagnostic macros:
 
  ASSERT         Prints a message if the specified expression evaluates
                   to FALSE in the Debug version of the library, and then
                   aborts the program.
 
  ASSERT_VALID   Tests the internal validity of an object by calling its
                   AssertValid member function, typically overridden from
                   CObject.
 
  TRACE          Provides printf-like capability in the Debug version of
                   the library.
 
  VERIFY         Similar to ASSERT but evaluates the expression in the
                   Release version of the library as well as in the Debug
                   version.
 
 
                                     -♦-