home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c031 / 10.ddi / MFC / SRC / VERSION.CP$ / version
Encoding:
Text File  |  1992-01-10  |  949 b   |  29 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. // 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 switch in C7.00.
  17.  
  18. #include "afx.h"
  19. #pragma hdrstop
  20.  
  21. #ifdef _WINDOWS
  22. extern "C" int FAR PASCAL __export _afx_version()
  23. #else
  24. extern "C" int FAR PASCAL _afx_version()
  25. #endif
  26.     return _MFC_VER;
  27. }
  28.