In my application, I need to extract ole objects, sometimes the program ID returned for the ole object is “Package”, and if I save the ole data to a file, the file is not openable, it looks like there is some kind of “wrapper” around it. Is there a way to save just the embedded ole data?
Please see the attached example, this is a Word doc that has a msg file embedded. And I saved the extracted data in EmbeddeMsg_0.unknown. If I rename the EmbeddeMsg_0.unknown to EmbeddeMsg_0.msg, it is not openable in Outlook.
Thanks for looking into it.