How to use CDO from an Outlook Addin

  • Thread starter Thread starter dorutzu
  • Start date Start date
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
 
In VB, it would be:

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

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