How to use CDO from an Outlook Addin

D

dorutzu

Hi,

I'm writting an Addin for Outlook (in VC++ :), and I was wondering
how to initialize and use Logon() for the CDO sesion object that I
need further. I must underline that Outlook is started, and I'm
somewhere in it's middle :)
Any VC++ code would be much appreciated, but a simple description of
what I'm supposed to do would do just as fine.

Thank you for your time,
Doru
 
S

Sue Mosher [MVP-Outlook]

In VB, it would be:

objSession.Logon "", "", False, False

where objSession is a MAPI.Session object. That syntax will reuse the
current Outlook session.
 

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