Extracting OLE documents from DXL

Hi

I am trying to extract OLE documents from DXL files to files on disk. Has anybody managed to do this? My understanding is that they are stored as OLE structured documents so I am using the COM structured storage API to read the contents of the DXL filedata base-64 encoded data. I have extracted the data and saved it to file and opened it using the structured storage API and can enumerate the contents of the structured storage but when I try to open a stream for the item I’m interested in I get a STG_E_FILENOTFOUND error.

I have read a few messages suggesting the filedata element may contain some header information, is this true? If so, is it documented anywhere? I’m guessing I need to remove this header information before saving the structured document.

Any help would be appreciated.

Subject: Fixed

To answer my own question, the problem was with my code, not the data extracted from the DXL. There isn’t any header information in the filedata elements, but they do need to be reconstructed in the correct order (which is quite tricky in itself)