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

本文标签: