PowerPoint Automation and Embedded Objects

I

InfoSeeker

Dear All,

I wish to programmatically process all the embedded objects within a
PowerPoint presentation but unlike other MS Office file formats I am
having to do this via Automation but I have run into a problem.

Using Automation via C++ I can successfully find all the embedded
objects in a presentation however when I have an embedded object which
is not a compound document type (i.e. not an MS Office document) I am
unable to obtain the Object IDispatch interface from the OLEFormat
object (via the Object PropertyGet invocation). In fact this returns an
"Exception occurred" error and the EXCEPTINFO structure informs me that
there is not interface for obtaining the object interface
(E_NOINTERFACE).

I am hoping to get the actual binary representation of the embedded
object in an IStream or an equivilent. Is there an alternative method
to obtain the data representation of the embeddeded object?

I realise that this has a large crossover with OLE but I am hoping
someone in this group will be able to help?

Regards,
Tim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top