Re: Exchange/Outlook 2007 MAPI in WinXP



You cannot have 2 MAPI systems installed at the same time.
Do you really need Outlook?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mort" <Mort@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CF244D0B-B8D0-4C2D-B70E-4BE750E951FD@xxxxxxxxxxxxxxxx
You can get just the CDO here:

http://www.microsoft.com/downloads/details.aspx?familyid=2714320D-C997-4DE1-986F-24F081725D36&displaylang=en

But, as you said, the other (MAPI) package will not install if Outlook is
present. I'm pretty confused by this. We tried uninstalling Outlook,
then
installing the package you linked to, and reinstalling Outlook. That
dosn't
work and we sort of expected the trickery was a waste of time.

I'm hoping there's a logical explanation to all of this somewhere.

"Dmitry Streblechenko" wrote:

Extended MAPI is supported.
MAPI.Session object has nothing to do with MAPI per se: it is a CDO 1.21
object, which Outlook 2007 does not install.
CDO 1.21 is a COM library that wraps Extended MAPI. It is not the same as
MAPI.

How exactly did you install CDO 1.21? The only way to get CDO 1.21 is to
install a version of Outlook prior to Outlook 2007 or the standalone
version
of MAPI/CDO 1.21 from
http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9-bff2-0a110307611e&DisplayLang=en
Note however that the stndalone version of MAPI will refuse to install if
any version of OUtlook is present.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mort" <Mort@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D30925F6-1BC2-48B0-8DDD-53705A7894F0@xxxxxxxxxxxxxxxx
We installed CDO 1.21 and that had no effect. I would think that would
be
some sort of Windows service running to support MAPI calls from the
external
program, however the code is failing after this line:

Set objSession = CreateObject("MAPI.Session")

as no object is created.

I also downloaded a help file from Microsoft that discusses how MAPI is
implemented in Outlook 2007 so it sounds like it is still supported.
We
just
need to figure out how to get the Windows service installed and/or
running.
The help file does not mention how MAPI is loaded onto the client
machine.

Mort

"Dmitry Streblechenko" wrote:

I assume by MAPI you mean CDO 1.21. It is no longer installed by
Outlook
2007.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mort" <Mort@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:99494DD9-CD78-44D7-A9BA-034472187D33@xxxxxxxxxxxxxxxx
We have a 3rd. party app that accesses Outlook 2007 via MAPI. We've
just
switched from Lotus Notes Mail to Outlook. The code is failing when
trying
to create a MAPI object so it seems MAPI is not installed. How do
we
install
MAPI? Thanks.








.



Relevant Pages

  • Re: Outlook 2033 - detect if Exchange is available
    ... ' .NET Assemblies showing as MAPI: ... ' .NET Assemblies showing as CDO: Microsoft CDO for Windows 2000 Library ... OutlookSpy - Outlook, CDO ... even offline) to an Exchange Server ...
    (microsoft.public.outlook.program_vba)
  • Re: setting MAPI fields in OLK 2003 with .NET 2003
    ... Dim sItem As New Redemption.SafeMailItem, ... 'to convince Outlook something has changed ... OutlookSpy - Outlook, CDO ... yes I'm using CDO to set mapi fields. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Exchange/Outlook 2007 MAPI in WinXP
    ... It looks like CDO did the trick. ... Do you really need Outlook? ... But, as you said, the other (MAPI) package will not install if Outlook is ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Report To HTML and email
    ... CDO 1.x is a subset of MAPI. ... MAPI althogether (And security messages issued by Outlook) ...
    (microsoft.public.fox.vfp.reports.printing)
  • Re: Setting Content-ID without CDO or Redemption
    ... OutlookSpy - Outlook, CDO ... CDO therefore I'm using extended MAPI. ... I realise this is a little different to a basic VBA question, ...
    (microsoft.public.win32.programmer.messaging)

Loading