[UWP] UWP:与VB6.0应用程序的COM互操作性

人气:144 发布:2022-09-22 标签: wpdevelop

问题描述

我们正在向UWP移植Silverlight Out Of Browser应用程序。从Silverlight应用程序开始,我们通过使用System.Windows.Interop.ComAutomationFactory API创建动态对象来启动VB6应用程序。 如何在UWP端加载任何帮助app。 谢谢你

Hi, We are porting silverlight Out Of Browser application to UWP. From Silverlight application we are launching the VB6 applications by creating dynamic object using System.Windows.Interop.ComAutomationFactory API. Any help on how to achieve this in UWP side loaded app. Thank You

推荐答案

好吧,您可以使用桌面桥将Silverlight OOB应用程序转换为UWP应用程序。如此处所述, 在桌面桥上支持 Silverlight Out of Browser(OOB)应用程序,Desktop bridge现在支持silverlilght OOB应用程序。但该应用必须使用APPX更新机制。

Well, you could just convert you silverlight OOB application to UWP app using desktop bridge. As is mentioned here,Support Silverlight Out of Browser (OOB) apps at Desktop Bridge, Desktop bridge now support silverlilght OOB application. But the appmust use the APPX update mechanis.

您可以在此处获取有关桌面网桥的更多信息: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-root

You could get more information about desktop bridge here:https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-root

祝你好运,

Roy

561