|
|
1.1 ! root 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: ! 12: // bibref.cpp : OLE Server for Bibliographic reference ! 13: ! 14: #define SERVER_NAME "BibRef" ! 15: #define SERVER_LOCAL_NAME "Bibliographical Reference" ! 16: ! 17: ///////////////////////////////////////////////////////////////////////////// ! 18: ! 19: #include <afxwin.h> ! 20: #include "resource.h" ! 21: ! 22: ///////////////////////////////////////////////////////////////////////////// ! 23: ! 24: class CBibApp : public CWinApp ! 25: { ! 26: public: ! 27: CBibApp() : CWinApp(SERVER_NAME) ! 28: { } ! 29: ! 30: // Attributes ! 31: CString strIniFile; ! 32: ! 33: // Operations ! 34: void ShutDown(); ! 35: ! 36: // Implementation ! 37: virtual BOOL InitInstance(); ! 38: virtual int ExitInstance(); ! 39: }; ! 40: ! 41: ///////////////////////////////////////////////////////////////////////////// ! 42: // Globals ! 43: ! 44: extern CBibApp app; ! 45: ! 46: /////////////////////////////////////////////////////////////////////////////
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.