how can I deal with the " big problem"
-
When I call this function "COleClientItem::CreateCloneFrom" to create a copy of the specified OLE item. And use this function to support undo operations. found that store file that including ole item will grow greater and greater! ZHANGYIFEI
-
When I call this function "COleClientItem::CreateCloneFrom" to create a copy of the specified OLE item. And use this function to support undo operations. found that store file that including ole item will grow greater and greater! ZHANGYIFEI
Theoretically, OLE structured storage files can get cleaned up. In practice, the structured storage implementation causes deleted streams to remain in the file forever. Which is why Word document files keep on growing. The only way to clear out dead information is to create a new storage file, then copy all the streams you want to keep from the old one.
-
Theoretically, OLE structured storage files can get cleaned up. In practice, the structured storage implementation causes deleted streams to remain in the file forever. Which is why Word document files keep on growing. The only way to clear out dead information is to create a new storage file, then copy all the streams you want to keep from the old one.