I have a Windows 10 Desktop application that needs to use a Windows Runtime API.
Solutions I tried:
Enabling Windows Runtime libraries from within my Windows Desktop application – the API was available but failed;
using the API in a Windows Runtime background task. There I have not found a reliable trigger so far. The best would be to trigger the background task from my Windows Desktop application.
start the Windows Runtime App from Desktop application using the IApplicationActivationManager – works fine, but the suddenly popup of an screen that disappears after few seconds will annoy the customer;
For solution 2., Is there a way to trigger a Windows Runtime background task from my Desktop app?
Issue solved by using AppServices, see https://msdn.microsoft.com/de-de/library/windows.applicationmodel.appservice.aspx