home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c031 / 10.ddi / MFC / SRC / ABORT.CP$ / abort
Encoding:
Text File  |  1992-03-13  |  790 b   |  36 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library. 
  2. // Copyright (C) 1992 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 Microsoft 
  7. // QuickHelp documentation provided with the library. 
  8. // See these sources for detailed information regarding the 
  9. // Microsoft Foundation Classes product. 
  10.  
  11. #ifdef _WINDOWS
  12. #include "afxwin.h"
  13. #else
  14. #include "afx.h"
  15. #endif
  16. #pragma hdrstop
  17.  
  18. #include <stdlib.h>
  19.  
  20. #ifdef AFX_CORE_SEG
  21. #pragma code_seg(AFX_CORE_SEG)
  22. #endif
  23.  
  24. /*
  25.  *  NOTE: in separate module so if can be replaced if needed
  26.  */
  27.  
  28. void CDECL AfxAbort()
  29. {
  30.     TRACE("AfxAbort called\n");
  31. #ifdef _WINDOWS
  32.     AfxWinTerm();
  33. #endif
  34.     abort();
  35. }
  36.