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

ID: Q98680

The information in this article applies to:

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

Last Reviewed: May 17, 1995