![](/img/trans.png)
[英]Can I launch a FullTrust Win32 app from within a UWP app's out-of-process background task?
[英]Terminate the win32 process of UWP app from main UWP process, or send message to it
当Win32进程启动时,建立与UWP的应用程序服务连接。 现在,您可以将Win32进程的生命周期绑定到应用程序服务连接(通过侦听ServiceClosed事件)。 这样,当UWP进程关闭或UWP应用决定关闭应用服务连接时,Win32进程将消失。
这是使用该技术的示例: https : //github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/UWP%20Office%20Interop
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.