how to get the MAPISession from the Outlook.Application Session?

J

Jet

Hi, all:

Outlook OOM cannot meet my requirements, so I want to use VC++ to write a
COM object
calling MAPI interfaces. While my COM will be called by Outlook Form
VBScript or Outlook VBA.

Here is the problem:
I am already logged on to Outlook/Exchange, I can get the
Outlook.Application Session, how can I pass this Session to my COM, where I
need a MAPISession to call the MAPI interfaces?

In my COM, any ways to query the existing MAPISession opened by the Outlook?

thanks in advance!

Jet
 
Top