Hi. I've been wondering about this for a while, and I didn't find any real answers to my question, which is the following:
When a program stops responding (i.e a form appears on the desktop saying "program has stopped working"), how does Windows detect it and what needs to go wrong in order for the error message to appear?