Process Control
The System::Diagnostics namespace also includes the extremely useful Process class, which allows you to start and stop new processes, enumerate the running processes on the system, and retrieve information about any running process. You can also enumerate processes on a remote machine, but you may not start or stop processes on the remote machine. The Process class has several very useful properties, such as Process::Id, which exposes the unique process ID of a process; Process::Handle, which returns a process's native Win32 handle, and many more. You'll see some of the more useful methods and properties in action in this section.
Starting a New Process
Start a new process by calling the Process::Start method, which has four overloads. ...
Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.