Step Into Labs

Step Into C · Lesson 27 · Win32 in Depth

Processes

Process ids vs handles, CreateProcessW, waiting and exit codes, STILL_ACTIVE, and capturing a child's output.

Part of Step Into C. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

A process is a container: an address space, a handle table, a security token, and at least one thread that runs code. Two ways to refer to one:

In this lesson

Missions

  1. Who am I?
  2. Start a child
  3. Still active?
  4. Capture the output