Home | Overview | How Do I | Sample | Tutorial
This article explains the steps you must take to successfully implement a server document if you did not specify the OLE Server option in AppWizard.
To define a server document class
OnGetEmbeddedItem is called when the user of a container application creates or edits an embedded item. It should return an item representing the entire document. This should be an object of your COleServerItem-derived class.
When a server document is created, the framework automatically registers the document with the OLE system DLLs. This allows the DLLs to identify the server documents.
For more information, see COleServerItem and COleServerDoc in the Class Library Reference.
See Also Servers: Server Items, Servers: Implementing a Server, Servers: Implementing In-Place Frame Windows