最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Is that possible to reload the third-party Outlook VSTO add-in by program means or make the wrapper add-in triggering confi

programmeradmin1浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

In 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论