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_griffin/archive/2006/06/09/announcing-mapi-cdo-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)