admin管理员组文章数量:1332330
I'm developing the Outlook VSTO add-in that interacts with the third-party Outlook VSTO add-in. The third-party Outlook add-in is stateful and I can't force it to reload its configuration that was changed by my add-in. I'd like to reload the third-party VSTO add-in from my add-in by program means when its configuration is changed. Is that possible?
Or may it be possible to create the wrapper add-in above the third-party add-in, which will disable the main add-in and call its ThisAddIn startup using the loaded DLL and attempt to trigger its configuration reload using DLL calls?
I tried to call the third-party add-in's loaded DLL, but failed to change the state of the loaded add-in. Tried to google, but unsuccessfully.
I'm developing the Outlook VSTO add-in that interacts with the third-party Outlook VSTO add-in. The third-party Outlook add-in is stateful and I can't force it to reload its configuration that was changed by my add-in. I'd like to reload the third-party VSTO add-in from my add-in by program means when its configuration is changed. Is that possible?
Or may it be possible to create the wrapper add-in above the third-party add-in, which will disable the main add-in and call its ThisAddIn startup using the loaded DLL and attempt to trigger its configuration reload using DLL calls?
I tried to call the third-party add-in's loaded DLL, but failed to change the state of the loaded add-in. Tried to google, but unsuccessfully.
Share Improve this question asked Nov 20, 2024 at 18:36 Dmitry KosovetsDmitry Kosovets 32 bronze badges1 Answer
Reset to default 0In general, you cannot do that. There are ways to load VSTO addins through a proxy in your code when you essentially play the role of the hosting app (Outlook) and load it using IManagedAddin::Load
, but IManagedAddin::Unload
won't necessarily do a complete cleanup.
本文标签:
版权声明:本文标题:c# - Is that possible to reload the third-party Outlook VSTO add-in by program means or make the wrapper add-in triggering confi 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742337188a2455861.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论