MAPIInitialize导致Outlook 2010无法启动 [英] MAPIInitialize cause Outlook 2010 to not start up

查看:120
本文介绍了MAPIInitialize导致Outlook 2010无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,当调用MAPIInitialize时,这会导致Windows 7 32位平台上的Outlook 2010无法启动。  启动Outlook时出现的错误消息是"无法启动Outllook"。它只是一个带有"OK"的对话框。 。按钮 您
可以重新启动计算机,在您尝试以管理员身份启动Outlook之前,Outlook 2010仍然无法启动。  之后一切都很好。 

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. 

更多线索:

1. 这仅适用于Windows 7平台上的Outlook 2010。

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

2. 需要启用UAC(用户帐户控制)。 除非启用UAC,否则不会发生此问题。

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

3. 可以使用或不使用Outlook在后台运行来调用MAPIInitialize,并且问题是100%可重现的

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

4. 当我们的安装程序通过调用包含初始化方法的DLL触发MAPIInitialize时,才会出现此问题。 我试图创建一个调用MAPIInitialize的控制台应用程序,但我无法重现该问题。

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.

帮助!谢谢!

 

推荐答案

你链接到哪个dll?你是否静态链接到system32文件夹中的mapi32.dll或程序文件中的msmapi32.dll?
Which dll are you linking to? Do you statically link to mapi32.dll in the system32 folder or msmapi32.dll in Program Files?


这篇关于MAPIInitialize导致Outlook 2010无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆