Reputation: 3441
Do Windows 10 has any analogy to XPC of iOS and macOS platform?
Basically XPC lets you run safely process out of main application loop and communicate with it.
Upvotes: 0
Views: 198
Reputation: 12019
You can use out-of-proc (OOP) WinRT components to spawn a separate process and communicate with it via a rich object model. This is probably the best choice if you are able to modify the app you're calling to expose a WinRT API. See this sample for more info.
You can also go the old-fashioned route and call CreateProcess
and communicate with the spawned process via redirected stdio, or via pipes. That's probably easier to do from an infrastructure perspective, but not as nice from a programmability perspective.
Both these approaches are WACK-compliant and can be submitted through the Windows Store.
Upvotes: 2