Win32 PowerPoint automation

J

JoshN

Hi guys,

I have been trying and trying for a long time trying to automate
powerpoint 2003 in c++ with WIN32 implementation. Using COM after
looking at the weird interface,cannot create the interface by hand. Due
to weird return types. Then I found a way to include the msppt.olb
using

#import "...\mso.dll"
using namespace Offices;
#import "...\vbe6ext.olb"
#import "....\msppt.olb"

But I can't instantiate the class. I can't even get the application
interface.

PowerPoint::_Application myApp;

Doesn't work. PowerPoint::_ApplicationPtr myApp works!!But cannot do
anything about it.

I hope someone could give me a brief idea how can I load a powerpoint
in c++ win32 apps. Thanks in advance.

Josh
 

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