creating a HostProcess to control other apps
Hello there, iam working on a bigger project needing following sooner or later for both things but iam alrdy curios on how i should proceed when building a application wich is run by a "host" process (responsible for loading in resources and configuring env variables for the referenced projects that need that and to be able to start and close the app) basicly the host process is supposed to run both apps (a dashboard and a launcher) wich are 2 diffrent wpf apps then also be able to create a "playground" for my plugin system wich can also be extending wpf apps meaning window in window apps
whats the best way of achiveing that? i searched around online already but found nothing better than "Process.Start(blah)" but that doesnt give full control over the application
16 Replies
All of these apps are your code yes?
yes
or 3rd party plugins which others can create by using our API we will provide for the plugin system
There’s no generic solution to this you will need to implement IPC for full control
Your children apps need some way of listening to the commands and acting on them
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes as they can be used on a server too and then be shared with streamed screens (small edge case nobody probably will use other than we self)
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
the app is windows only anyways
Why would IPC be platform specific
You don’t need it to be platform specific
It’s a pretty crude concept
Even just tcp pipe between the apps is pretty generic
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Implementation detail I should think
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
TCP is quite literally IPC
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
to be more accurate the issue is when you debug in visual studio and close the application via the window X sign it does just stop the wpf app not the contected services or other sub windows from it
and the process in visual studio still runs wich you need to stop manually
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
allright thanks alot