BUG: Retaining Clipboard IDataObject Causes Unexpected ResultLast reviewed: May 17, 1995Article ID: Q109545 |
The information in this article applies to:
SYMPTOMSAn application holding on to a clipboard IDataObject pointer, and making repeated calls to IDataObject::EnumFormatEtc() through that pointer, may find that the set of formats returned by EnumFormatEtc() changes between calls.
RESOLUTIONAs noted in the Object Linking and Embedding SDK version 2.01 documentation, an application that calls OleGetClipboard() to retrieve an IDataObject interface pointer should hold on to that IDataObject pointer only for a very short time.
STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce
The dialog box detects changes to the clipboard contents by calling SetClipboardViewer() to splice itself into the clipboard viewer chain.
|
Additional reference words: 2.01 3.50 4.00 toolkit
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |