PRB: Paste Link Option Does Not Appear in OLE 1.0 Clients

Last reviewed: May 17, 1995
Article ID: Q98680
The information in this article applies to:
  • Microsoft OLE version 1.0
  • Microsoft OLE Libraries for Windows and Win32s, version 2.0
  • Microsoft OLE Libraries, included with:

        - Microsoft Windows NT, versions 3.5 and 3.51
        - Microsoft Windows 95
    

SYMPTOMS

The Paste Link option remains unavailable (grayed) in an OLE version 1.0 client when an OLE version 2.0 object places its data on the clipboard.

CAUSE

The CF_OBJECTDESCRIPTOR and CF_LINKSRCDESCRIPTOR formats do not have the OLEMISC_CANLINKBYOLE1 bit set in the dwStatus member of the OBJECTDESCRIPTOR structure.

RESOLUTION

Add the OLEMISC_CANLINKBYOLE1 flag to the dwStatus member of the OBJECTDESCRIPTOR structure.

MORE INFORMATION

OLE 1.0 clients do not support links to embedded objects. OLE 2.0 containers that support links to embedded objects should not set this flag if the object being placed on the clipboard could result in a link to an embedded object. Removing this flag prevents an OLE 1.0 client from attempting to make a link in this scenario.


Additional reference words: 1.00 2.00 3.50 4.00
KBCategory: kbole kbprg kbprb
KBSubcategory: LeTwoDdc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.