Reputation: 1
For example, embed in "calc.exe" to wpf window,Thanks.
Upvotes: 1
Views: 518
Reputation: 49985
You don't. You can start another process by invoking it using System.Diagnostics.Process.Start(), but you can't "import" a process.
Upvotes: 4
Reputation: 1039428
You could use the Process.Start method:
Process.Start("calc.exe");
But you cannot load the exe into an existing WPF window.
Upvotes: 4