In using the MFCMAPI application (September 2015 release, both 32bit and 64bit) and trying to connect/logon to Outlook 2016 (32bit and 64bit), we are seeing an error in the MAPIInitialize function:
MAPIInitialize failed with error 0x80004005 == MAPI_E_CALL_FAILED.
Here are some known causes for this.
1 - No version of Extended MAPI is installed. Either Outlook or MAPICDO must be installed.
See http://www.microsoft.com/downloads/details.aspx?familyid=E17E7F31-079A-43A9-BFF2-0A110307611E to install MAPICDO.
2 - The 64 bit version of Outlook 2010 is installed. The 64 bit version of Outlook 2010 requires the 64 bit build of MFCMAPI.
See http://mfcmapi.codeplex.com for the latest 64 bit build of MFCMAPI.
3 - Windows Mail or Outlook Express (which do not implement Extended MAPI) is registered as the Default Mail Client.
See http://msdn.microsoft.com/en-gb/library/dd162409.aspx for information on setting the Default Mail Client.
In file MapiObjects.cpp
On line 120
This particular error was generated when using Session > MAPI Initialization > MAPIInitialize... or Session > Logon... .
Is this an error that others have seen? Any insight would be greatly appreciated.