Outlook & com

D

Damian

Hi

I try to make a an ole component which uses Outlook object. And here is a
problem - I cannot make an instance inside ole :(

I have tried this:
_ApplicationPtr pApp("Outlook.Application);

and this:
_ApplicationPtr pApp.CreateInstance(uuidof__(_Application));

and even this
_ApplicationPtr pApp.CreateInstance("Outlook.Application");

but nothing works:(. So, where is a mistake? Could anybody help me? Thanks
 

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