The information in this article applies to:
SYMPTOMSIf an OLE 2.0 container application document contains an embedded OLE 1.0 object, and the container calls IDataObject::GetData() to retrieve data for that object, the data returned is out of date, and does not reflect the OLE 1.0 server's most recent changes to the object. CAUSEOLE 1.0 embedded object servers only update the cache when the user chooses the Update command from the File menu. OLE 1.0 objects do not update the cache for every change to the object. Therefore, an OLE 1.0 object's cache often contains outdated data. RESOLUTIONThe container can obtain the latest object data by calling IOleObject::Update(). This function ensures that any data or view caches maintained inside the object are up to date. REFERENCESFor more information on known idiosyncrasies of embedding OLE 1.0 objects into OLE 2.0 containers, see "Working with OLE 1 Servers" in the OLE Software Development Kit (SDK) version 2.01 Programmer's Reference. Additional query words: 2.01 3.50 4.00
Keywords : kbole kbprg kbNTOS350 kbOLE200 kbWinOS95 kbGrpCom kbDSupport kbprb |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |