Microsoft KB Archive/98680

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

Article ID: 98680

Article Last Modified on 12/3/2003

-

APPLIES TO

 Microsoft OLE 1.0 Microsoft OLE 2.0 Microsoft OLE 4.0, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows NT 3.51 Service Pack 5

 Microsoft Windows 95</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q98680

<div class="symptoms_section">

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.

<div class="cause_section">

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

<div class="resolution_section">

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

<div class="moreinformation_section">

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: kbprogramming kbprb KB98680

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.