OLE Attachments

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Attachments that are OLE objects are encoded as OLE 1 stream objects for backward compatibility. If the original object is really an OLE 2 IStorage object, then the object must be converted to an OLE 1 stream. This conversion is performed using the OleConvertIStorageToOLESTREAM function, which is part of the Win32 OLE libraries.