Knowledge Base |

# BUG: OleConvertStorageToOLESTREAM() Fails When CLSID Is NULL

Article ID: 111611

Article Last Modified on 12/3/2003

APPLIES TO

- Microsoft OLE 2.01
- Microsoft OLE 4.0, when used with:
  - Microsoft Windows NT 4.0
  - Microsoft Windows NT 3.51 Service Pack 5
  - 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.

Additional query words: 2.01 3.50 4.00

Keywords: kbbug KB111611