outlook & ole

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
 
Top