MAPIInitialize() 在 Office 365 2020 年 4 月 24 日更新后失败 [英] MAPIInitialize( ) fails after April 24, 2020 update of Office 365
问题描述
从 2020 年 4 月 22 日开始,此代码片段开始失败:
HRESULT hRes;MAPIINIT_0 MAPIINIT= { 0, MAPI_MULTITHREAD_NOTIFICATIONS};hRes = MAPIInitialize(&MAPIINIT);<--- 程序在这里停止.
至少从 2000 年(20 年)以来,这段代码一直运行没有问题.
在 Office 365 更新后,这至少在一台计算机上失败.但是,此问题与多个不同的 Outlook 版本有关:
Office 365 版本 2005 - 16.0.12823.20000 64 位 - Windows 预览体验成员.
Office 365 版本 2003 - 12624.20520(点击运行)- 当前版本.
到目前为止 - 仅适用于 Windows 10.
有没有人找到运行 MAPIInitialize( ) 的方法?
是的,最新的 Insider Slow (Monthly) 更新破坏了 MAPIInitialize
.
Microsoft 已意识到该问题,但尚未修复.唯一的解决方法是安装 Insider Fast build (https://www.msoutlook.info/question/office-365-for-business-office-insider-fast-builds) 或降级到以前的版本之一 https://support.microsoft.com/en-us/help/2770432/how-to-revert-to-an-earlier-version-of-office-2013-or-office-2016-clic>
您也可以尝试修改系统PATH:https://github.com/stephenegriffin/mfcmapi/issues/367
正在加载
%ProgramFiles%\Microsoft Office\root\vfs\ProgramFilesCommonX86\Microsoft Shared\OFFICE16\Mso20win32client.dll
和
%ProgramFiles%\Microsoft Office\root\Office16\OutlookServicing.dll
在调用 MAPIInitialize() 之前摆脱崩溃.
Starting on April 22, 2020 this code snippet started failing:
HRESULT hRes;
MAPIINIT_0 MAPIINIT= { 0, MAPI_MULTITHREAD_NOTIFICATIONS};
hRes = MAPIInitialize(&MAPIINIT); <--- Program halts here.
This code has been running without a problem since at least the year 2000 (20 years).
This failed on at least one computer after an Office 365 Update. However, this problem is associated with several different Outlook versions:
Office 365 Version 2005 - 16.0.12823.20000 64bit - Windows Insider.
Office 365 Version 2003 - 12624.20520 (Click to Run) - Current Release.
So far - only on Windows 10.
Has anyone found a way to run MAPIInitialize( )?
Yes, the latest Insider Slow (Monthly) update broke MAPIInitialize
.
Microsoft is aware of the problem, but there is no fix yet. The only workarounds are either installing the Insider Fast build (https://www.msoutlook.info/question/office-365-for-business-office-insider-fast-builds) or downgrading to one of the previous versions https://support.microsoft.com/en-us/help/2770432/how-to-revert-to-an-earlier-version-of-office-2013-or-office-2016-clic
You can also try to modify the system PATH: https://github.com/stephenegriffin/mfcmapi/issues/367
Loading
%ProgramFiles%\Microsoft Office\root\vfs\ProgramFilesCommonX86\Microsoft Shared\OFFICE16\Mso20win32client.dll
and
%ProgramFiles%\Microsoft Office\root\Office16\OutlookServicing.dll
prior to calling MAPIInitialize() gets rid of the crash.
这篇关于MAPIInitialize() 在 Office 365 2020 年 4 月 24 日更新后失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!