home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / MFC / SRC / AFXVER.CP_ / AFXVER.CP
Encoding:
Text File  |  1993-02-08  |  1004 b   |  32 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 and/or WinHelp documentation provided with the library. 
  8. // See these sources for detailed information regarding the 
  9. // Microsoft Foundation Classes product. 
  10.  
  11. // Ths module serves two purposes:
  12. //    1. Provide a function that returns the current version
  13. //       number of the AFX library.
  14. //    2. Provide a guaranteed exported symbol in an application
  15. //       to work around a loader problem in Windows 3.0.  This
  16. //       module must be compiled with the /GEe complier switch.
  17.  
  18. #include "stdafx.h"
  19.  
  20. #ifdef AFX_INIT_SEG
  21. #pragma code_seg(AFX_INIT_SEG)
  22. #endif
  23.  
  24. #ifdef _WINDOWS
  25. extern "C" int AFXAPI _export _afx_version()
  26. #else
  27. extern "C" int AFXAPI _afx_version()
  28. #endif
  29.     return _MFC_VER;
  30. }
  31.