ThisAddIn_ShutDown doesn't execute

流过昼夜 提交于 2019-11-29 14:42:27

Are you using Outlook 2010?

Starting in Outlook 2010, Outlook, by default, does not signal add-ins that it is shutting down. Specifically, Outlook no longer calls the OnBeginShutdown and OnDisconnection methods of the IDTExtensibility2 interface during fast shutdown. Similarly, an Outlook add-in written with Microsoft Visual Studio Tools for Office no longer calls the ThisAddin_Shutdown method when Outlook is shutting down.

Chriss

If you are using Outlook 2010 you can ask Outlook to inform your plugin when it is shutting down.

[RequireShutdownNotification]=dword:0x1

The Key has to be placed in the Registry Folder of your Plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!