CDO programming.

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello, everytime I need to start a CDO session, I need to supply witha a
profile name.

like

CDO::_SessionPtr Session("MAPI.Session");
Session->Logon("Outlook","",VARIANT_FALSE,VARIANT_FALSE);

Is the Outlook the default profile for the Outlook? Will it work for all the
Outlook version?

thank you
 
You cannot depend on the default profile being named "Outlook". It might be
but especially in a corporate environment it most likely won't be.
 

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

Back
Top