Skip to content

Initializing New Application Window in WinUI Runtime Component #7383

Discussion options

You must be logged in to vote

My solution to the problem of late binding a UI in unpackaged desktop is to simply use CreateProcess to instantiate a WinUI executable that hosts Xaml UI, and to use pipes for IPC. This enables the instantiation of different suits together to act on shared data, with the added advantage of a calling process that handles shared memory management, threading, loading, failures, lifetimes, and health of different suits using scripts. I guess with the UI and the WinUI Framework, however deep this goes, you can't naturally instantiate any Xaml related content, because the load call fails to locate the resource by Uri (regardless of how you link the component), when calling from a WinUI 3.0 Wind…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Entangled-Logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant