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

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, used with:
    • Microsoft Windows NT, versions 3.5, 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 query words: 1.00 2.00 3.50 4.00

Keywords : kbole kbprg kbNTOS350 kbNTOS351 kbOLE100 kbOLE200 kbWinOS95 kbGrpCom kbDSupport kbprb
Version : :1.0,2.0
Platform : WINDOWS
Issue type :


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.