Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Close Handles
CloseHandle(pi.hProcess);//Handles must be explicitly closed if not parent process will hold on to it even if child process is terminated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment