Ohhh.. I missed the flag "MAPI_LOGON_UI" where I passed NULL as the Profile
Name. Now, the Profiles dialog appear containing two profiles; "Outlook" and
"PstLoadTmp000". Are those profiles found because Outlook was on my machine
previously? Or I can always depend on these profiles when installing the
MAPICDO library?
Another problem that I found that the MAPICDO library is not a
redistributable package.
http://blogs.msdn.com/stephen_griffi...-download.aspx
To be clear, my application reqirements are as the following:
-- The application have a database containing MSG files.
-- The user should be able to see any MSG.
-- The application opens the MSG with Outlook if Outlook installed.
-- If Outlook not installed, the application should convert the MSG to EML
(using redemption) and then open the EML with an EML viewer. (and here I'm
hanging)
-----------
"Dmitry Streblechenko" wrote:
The error is MAPI_E_LOGON_FAILED.
How exactly do you call MAPILogonEx? Do you have any profiles configured? Do
yo ucreate owen programmatically?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"MON205" wrote in message
...
I installed the MAPI library from:
http://www.microsoft.com/downloads/d...displaylang=en
Now call to MAPIInitialize succeeded, but MAPILogonEx returned 0x80040111
Any ideas?
"MON205" wrote:
I tried un-installing Outlook. And now, all MAPI calls fail, starting
from
MAPIInitialize()!!!
Who installs the Extended MAPI? Is it Outlook? If yes, can't I use Simple
MAPI when Outlook is not installed.
Can you direct me to a web site or any resource to read more about this
issue.
Thanks
"Ken Slovak - [MVP - Outlook]" wrote:
The Extended MAPI call to MAPILogonEx? If the stand-along server side
Extended MAPI is installed it will work without Outlook being
installed.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"MON205" wrote in message
news
Hello,
Does MAPILogonEx succeed on a machine that don't have Outlook
installed?
Thanks a lot