Opening Office 2007 Documents from in memory storage - How?

Posted by John S on Stack Overflow See other posts from Stack Overflow or by John S
Published on 2010-04-23T18:50:38Z Indexed on 2010/04/23 18:53 UTC
Read the original article Hit count: 276

Filed under:
|
|

Hi there,

I'm a C++ developer wrestling with updating an application that had made extensive use of the IStorage interface to open pre-Office 2007 documents from in-memory storage (via ILockBytes).

If you are still following me so far, you probably know that the new Office Document formats are incompatible with IStorage containers. The application I'm trying to update, relied upon the IPersistStorage interface that all Office applications have, and the code as written calls the load method of IPersistStorage to read in a document from IStorage interface.

So the question is....

What kind of COM interfaces are available to me to read in, from an in memory container, an Office 2007 document?

John "S"

© Stack Overflow or respective owner

Related posts about Office

Related posts about 2007