Usage of IMAPISession from IExchExt

  • Thread starter Thread starter Petr Nehez
  • Start date Start date
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
 
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
 
Back
Top