MAPIInitialize cause Outlook 2010 to not start up


  • For some reason when MAPIInitialize is called this causes Outlook 2010 on Windows 7 32 bit platforms to fail to start.   The error message when starting Outlook is "Cannot start Outllook" and it's just a dialog box with an "OK" button.  You can restart the machine and Outlook 2010 will still fail to launch until you attempt to start Outlook as an administrator.   After that everything is fine. 

    Some more clues:

    1.  This only happens with Outlook 2010 on Windows 7 platforms.

    2.  UAC (User Account Control) needs to be turned on.  This problem won't happen unless UAC is on.

    3.  MAPIInitialize can be called with or without Outlook running in the background and the problem is 100% reproducible

    4.  This problem only appears to happen when our installer triggers MAPIInitialize through a call to our DLL that contains the initialize method.  I've tried to create a console app that calls MAPIInitialize but I cannot reproduce the problem.

    Help! thanks!


    Monday, October 17, 2011 8:34 PM

All replies