PPTX gets corrupt when saving from an OLE container with PowerPoint2003

R

RAHUL

Hi All,

In my application I have a OLE container written in C++ (for opening
PowerPoint inside the application), The source code is based on the
DSOFramer example provided by Microsoft.
I have PowerPoint 2003 (Office SP3) along with the 2007 converter pack
installed. I can edit PPTX files inside the OLE container (which opens
inside myapplicaiton) and save it as PPTX. But many times the saved
PPTX gets corrupt, it does not open with PP 2003, But when I try to
open this corrupt PPTX with PP 2007, it opens with a message
"PowerPoint found unreadable content in <file_name.pptx>. Do you want
to recover the content of the presentation". If I say yes, it opens
perfectly with PP 2007.

I also tried saving the PPTX file being edited as a PPT always, which
I later convert to a PPTX. But sometimes the generated PPT is such
that the PPTX generated from it is corrupt as I mentioned above (it
doesn't open with PP 2003 and opens with PP 2007 with that same
message). But this PPT opens perfectly with PP 2003 and 2007.

I have no clue why this problem happens only sometimes (once in 5
try). The problem also happens wiht the DSOFramer sample provided by
the microsoft .

Has anybody faced similar issue with DSOFramer? What could be going
wrong here?

Thanks in advance
Rahul
 

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