Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Views User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

15.6 Server Item Serialization

The OLE document server must provide persistence interfaces to the container item, so the linked or embedded document can be saved and restored by the container. This functionality is mapped by MFC to the COleServerItem::Serialize() method. You must override this method and make sure that it saves and restores the information in the document. If the item is embedded, then the entire document can be serialized using the Serialize() method of your COleServerDoc derived class. If the item is linked, then you must supply application-specific logic for serializing the link information.

Example 23: Serializing server items

Make sure the ColeServerDoc derived class serializes the model.

Example 24: Serializing the model



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.