Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MAPIInitialize(NULL) fails with 0x80004005

208 views
Skip to first unread message

Himanshu Ubale

unread,
Feb 24, 2001, 4:37:12 AM2/24/01
to

Hi,

This is related to Extended MAPI.
When I call MAPIInitialize(NULL) it fails with error returned as
MAPI_E_CALL_FAILED or E_FAIL (0x80004005).

However I can use Simple MAPI on this machine (running Windows ME)

On another machine this call does not fail.
I guess there is something about environment.

Thanks for any help in resolving this issue.

Regards
- Himanshu

Luc Kumps

unread,
Feb 24, 2001, 5:57:32 AM2/24/01
to
What is handling MAPI on your machine? Outlook? Or something else?
If it's Outlook, it should be in "Workgroup/Corporate" mode (as opposed to
"Internet Mail" mode), otherwise MAPI doesn't work correctly. I had a hard
time discovering this until Ken Slovak pointed me in the right direction...
(you can find out the current mode in Outlook, Help, About)

Luc

"Himanshu Ubale" <hub...@vsnl.net> wrote in message
news:496101c09e45$5d937210$9ae62ecf@tkmsftngxa02...

Himanshu Ubale

unread,
Feb 28, 2001, 7:08:05 AM2/28/01
to
Hello Luc,

Thanks a lot.
I wonder why this is not documented.

- Himanshu

Luc


.

Luc Kumps

unread,
Feb 28, 2001, 7:45:38 AM2/28/01
to
Oh, but it *is* documented - if you know where to look ;^)
See http://support.microsoft.com/support/kb/articles/Q195/4/79.ASP
For "Internet Mail Only", it says "These ISPs or servers use Internet
standards such as, Post Office Protocol 3 (POP3), Simple Mail Transfer
Protocol (SMTP), or Internet Message Access Protocol (IMAP) for e-mail
delivery. You may also send and receive faxes but don't use any other
programs which need to install Messaging Application Programming Interface
(MAPI) services"

For "Workgroup", it says "You send and receive all your mail through an ISP,
but you use other programs requiring the installation of the MAPI services"

I had a *lot* of trouble before realizing that this is *also* if you just
want to use Outlook Objects! These objects function more or less correctly,
but some objects crash your application if you are not in Workgroup mode...


Luc

"Himanshu Ubale" <hub...@vsnl.net> wrote in message

news:499401c0a17f$1b379580$9ee62ecf@tkmsftngxa05...

0 new messages