home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / src / afxabort.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-16  |  743 b   |  28 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. #include "stdafx.h"
  12.  
  13. #ifdef AFX_AUX_SEG
  14. #pragma code_seg(AFX_AUX_SEG)
  15. #endif
  16.  
  17. // Note: in separate module so if can be replaced if needed
  18.  
  19. void AFXAPI AfxAbort()
  20. {
  21.     TRACE0("AfxAbort called.\n");
  22.  
  23.     AfxWinTerm();
  24.     abort();
  25. }
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28.