简体   繁体   English

在WPF应用程序中托管Windows加载项

[英]Hosting windows add-in in wpf application

We have a windows add-in called DataStream Charting which can be used as add-in in Microsoft word that is a windows application as in the below image: 我们有一个名为DataStream Charting的Windows加载项,可以用作Microsoft Word中的加载项,Microsoft Word是Windows应用程序,如下图所示:

加入

How to host the same windows add-in in Wpf application just as in the Microsoft word. 如何像Microsoft word中一样在Wpf应用程序中托管相同的Windows加载项。 Is this possible and if yes then Kindly Suggest? 这可能吗?如果可以,请提出建议?

Thank You. 谢谢。

It's possible, however it would be a ton of work, you would need to emulate all of MS Word's com add-in architecture . 有可能,但是这将需要大量工作,您需要模拟所有MS Word的com加载项体系结构 Or, at a minimum, the parts of the architecture that the add-in requires (if you can specifically identify those pieces). 或者至少是该加载项所需的体系结构部分(如果您可以明确标识这些部分)。

It would be a lot of work, so I would not say it's realistically feasible. 这将需要大量工作,因此我不会说这是现实可行的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM