OSERVER: Demonstrates OLE Server
OSERVER (BIBREF.EXE) is a simple object linking and embedding (OLE) server application that implements bibliographical references. You must run BIBREF directly before using it with other OLE programs. When you run BIBREF directly, it registers itself with the registration database and allows you to add, modify, and delete bibliographical references from a list maintained by the application. When you run BIBREF from an OLE client, it allows you to embed objects containing these references within the client application's document.
The OSERVER source code illustrates the following concepts:
Constructing an OLE server
Programming with the Microsoft Foundation Class (MFC) OLE classes
Supporting embedded objects
For more information on these concepts, see the technical articles "MFC TN008--General OLE Overview," "MFC TN009--Writing an OLE Client Application," and "MFC TN010--Writing an OLE Server Application."
OSERVER requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. OSERVER uses the following libraries:
MLIBCEW.LIB (C Windows run-time library)
LIBW.LIB (Windows library)
Either MAFXCW.LIB (MFC medium-model Windows retail library) or MAFXCWD.LIB (MFC medium-model Windows debug library)
COMMDLG.DLL and COMMDLG.LIB (standard Windows dialog libraries)
SHELL.DLL and SHELL.LIB (OLE registration libraries)
OLESVR.DLL and OLESVR.LIB (OLE server libraries)
To build this application, you must have Microsoft C/C++ version 7.0 installed on your system.
{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the oserver project." /C"samples}