MINSVRMI: Demonstrates OLE Server with Multiple Inheritance

MINSVRMI is a simple object linking and embedding (OLE) server application that draws a graphical ellipse. It is identical to MINSRV except that it is implemented with multiple inheritance. You must run MINSRVMI directly before using it with other OLE programs. When you run MINSVRMI directly (from the Windows Program Manager or File Manager), it registers itself with the registration database. After running MINSVRMI directly, you can use it with OLE clients to embed objects in the client application's document.

The MINSVRMI source code illustrates the following concepts:

Constructing a minimal OLE server

Programming with the MFC OLE classes

Using multiple inheritance with MFC and 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," "MFC TN010--Writing an OLE Server Application," and "MFC TN016--MFC and Multiple Inheritance."

MINSVRMI requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. MINSVRMI 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 minsvrmi project." /C"samples}