What can cause Outlook to change a COM-addin's LoadBehavior to 2 - other than unhandled exceptions?

前端 未结 5 2008
后悔当初
后悔当初 2020-12-28 17:14

For some weeks now we have been fighting with an issue where at a small number of customers our Outlook addin gets unloaded and disabled for yet undetermined reasons. By \"d

5条回答
  •  执念已碎
    2020-12-28 18:05

    I am also working on Outlook Add-In and I know one reason when the Add-In gets disabled. some time when Outlook shuts down abruptly or user forcefully shut down the Outlook, add-In gets disabled. I am not sure if this is the reason in your case but it could also give you some direction to think of. I some time use this method (closing the outlook using task manager while it is still loading) to simulate this behavior and actually I have developed a tool which scans all the machines provided to it and checks if the add-In is disabled on a machine and if yes it changes the registry value to enable it.

提交回复
热议问题