The relationship between a UWP and a non-UWP application

Is it possible to have a connection between uwp and non uwp applications. My non-uwp is a background task that provides a service. I want to call this non-uwp service in a uwp application.

How to make this call? Is the AppServiceConnection class available in a non-uwp application?

+4
source share
2 answers

Yes, non-UWP applications can use AppServices to communicate with UWP applications.

There is a sample here: https://github.com/Microsoft/DesktopBridgeToUWP-Samples/blob/master/Samples/AppServiceBridgeSample_C%2B%2B/cs/Win32Process_CPP/Win32Process_CPP.cpp

+9
source

I think I have an answer for you.

, , win32 , UWP, WPF, , , UWP, , Wndproc WPF.

, UWP, U , , .

, , , Appservice.

Appservice - , , Backgroundhost.exe, , , , , , , / , - , , , .

, , , , , , APP, UWP, , WPF.

- , UWP, , dekstop Windows. https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-root

, apis, , UWP, , .

+1

Source: https://habr.com/ru/post/1673881/


All Articles