Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Monday, October 24, 2011

CreateProcess

Using CreateProcess opens two handles (one for a thread, one for a process) which are stored by Windows in the PROCESS_INFORMATION structure that you supplied with CreateProcess.

You should close both if the child process exits while your program is still running - but it also seems you can close them any time before this without causing your child process to exit. (Obviously then you can't communicate with the child). I'd want to do this if I'd started a process so that the user could interact with it.

Followers

Blog Archive