title: How to implement a kill switch in a native windows program
body: <p>We've got issues with our program potentially hanging in certain situations, is there a way to search and destroy your own program with windows calls without using task manager.  It probably wouldn't make sense to include this in the program itself, but as a bundled thing no one would see.  </p>
  
  <p>What's the best way to go about doing this, how deep do I need to dig to stop my program and how shallow should I keep to make sure I don't crash the OS?</p>