PRB: Paste Link Option Does Not Appear in OLE 1.0 Clients (98680)
The information in this article applies to:
- Microsoft OLE 1.0
- Microsoft OLE Libraries for Windows and Win32s 2.0
- Microsoft OLE Libraries, when used with:
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows 95
This article was previously published under Q98680 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.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbprb kbprogramming KB98680 |
---|
|