简体   繁体   English

打开从 UWP 到 Win32 的 AppServices 连接

[英]Open AppServices connection from UWP to Win32

I've been working with AppServices.我一直在使用 AppServices。 I know that I can open a connection from a Win32 process to a UWP. But I need it the other way around.我知道我可以打开从 Win32 进程到 UWP 的连接。但我需要反过来。 Is it possible to open a AppServices connection from a UWP -> Win32?是否可以从 UWP -> Win32 打开 AppServices 连接?

Thanks in advance提前致谢

Is it possible to open a AppServices connection from a UWP -> Win32?是否可以从 UWP -> Win32 打开 AppServices 连接?

No. First, you can't register the appservice in your win32 application.不可以。首先,您不能在 win32 应用程序中注册应用服务。 And you can't handle the connection request in the win32 app as well because it requires BackgroundActivated event.而且您也无法处理 win32 应用程序中的连接请求,因为它需要 BackgroundActivated 事件。

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

相关问题 WinUI(Win32 和 UWP)在调整大小方面滞后 - WinUI (Win32 and UWP) lags in resizing 无法从UWP打包项目(UWP + Win32)构建ARM64 - Unable to build for ARM64 from UWP packaging project (UWP + Win32) 从主UWP进程终止UWP应用的Win32进程,或向其发送消息 - Terminate the win32 process of UWP app from main UWP process, or send message to it 如何使用UWP项目中的4个参数启动Win32可执行桌面 - How to launch win32 executable desktop with 4 arguments from UWP project 我的Win32 App如何从UWP App窃取焦点? - How Can My Win32 App Steal Focus From My UWP App? 如何从 UWP 应用程序中使用命令行 arguments 实现启动 win32 exe? - How do you implement Launching a win32 exe with command line arguments from an UWP app? UWP:绑定+ TextChanging = JIT win32异常 - UWP: Binding + TextChanging = JIT win32 exception 即使在导入 Win32 命名空间后,SaveFileDialog 在 UWP 中也不起作用 - SaveFileDialog is not working in UWP even after import Win32 namespace 在UWP中启动后台Win32控制台应用程序 - Launch background win32 console application in UWP 我可以从 UWP 应用程序的进程外后台任务中启动 FullTrust Win32 应用程序吗? - Can I launch a FullTrust Win32 app from within a UWP app's out-of-process background task?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM