BUG: OleConvertStorageToOLESTREAM() Fails When CLSID Is NULL (111611)



The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s 2.01
  • 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 Q111611

SYMPTOMS

The OleConvertStorageToOLESTREAM() API (application programming interface) call is used to convert the storage of an embedded object from the OLE 2.0 storage model to the OLE 1.0 storage model. However, if the OLE 2.0 object has a CLSID of NULL, then OleConvertStorageToOLESTREAM() fails with a return code of OLE_E_CLASS.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

NOTE: It is unusual for an embedded object to have a CLSID of NULL. However, after IOleLink::SetSourceDisplayName() has been called to change the source of an embedded link object, it is possible for that link object to have a CLSID of NULL.

Modification Type:MajorLast Reviewed:12/3/2003
Keywords:kbBug KB111611