Usage of IMAPISession from IExchExt

P

Petr Nehez

Hi guys,

I have a question regarding of usage of IMAPISession in the
IExchExt::Install method. Can I use this object in every version of Outlook?
I know that using of Application.Session.MAPIOBJECT in O2003 is safe but
I need to know if the using of IMAPISession object through
IOutlookExtCallback ({0006720D-0000-0000-C000-000000000046}) interface
is safe.
Thanks.

Petr
 
D

Dmitry Streblechenko

Yes. And you can even use it in the Exchange Client, where IExchExt was used
first before there MS came up with a product called Outlook :)
Just make sure you request IMAPISession in the EECONTEXT_SESSION context or
later.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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