How to generate a System Event when a program hangs

Discussion in 'Crashes, BSODs and Debugging' started by Andy2, Jan 7, 2016.

  1. Andy2

    Andy2

    Joined:
    Jan 7, 2016
    Messages:
    1
    Likes Received:
    0
    Greetings all -

    Win7/64Pro Question

    I am looking for a short term solution for automatic intervention. Longer term is to address the stability issue within a specific custom application.

    There is a two computer setup, where a custom interactive application lives on each PC, and interacts through a asynchronous server application installed on one of the two PC's. A particular application installed in a kiosk with touch screen, occasionally hangs. The visual results are the on screen animation stops, yet everything all continues to work between both PC's.

    Without interacting with the application, I can bring up the Task Manager, and see the the application is not responding from the [Applications] tab. I can also see the application is not responding from the [CPU] tab of the resource monitor.

    Once I touch / interact with the hung application, I get a dialog box, asking me to either close the app or wait longer for it to respond. When you select close, the application closes, and an EVENT is generated. I currently use this EVENT [Application / "Application Hang" / ID:1002] to trigger a reboot scripts for both machines. This process still requires the manual action of someone pressing the close button on the hung process. I would like the reboot sequence to happen automatically, once the application hangs.

    Finally... My Question:
    1. Is there a way to generate an EVENT (that I can trigger on) when an application hangs or is not responding. I am currently looking through the local group policy editor, but have yet to find anything.

    2. If I can generate an EVENT from a hung application (as in Q1), can I specify which application to monitor for such a state?

    Thank in advance
    Andy
     
    Andy2, Jan 7, 2016
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. caffine

    system hangs at "...boot from CD" prompt

    caffine, May 5, 2009, in forum: Installation, Setup and Updates
    Replies:
    2
    Views:
    4,759
    caffine
    May 5, 2009
  2. jordeangjelovik

    Program files and Program files (*86)

    jordeangjelovik, Oct 27, 2009, in forum: General Discussion
    Replies:
    3
    Views:
    9,745
    Ripose
    Oct 27, 2009
  3. Dabbler

    Program Files & Program Files (x86) folders

    Dabbler, Dec 2, 2009, in forum: alt.windows7.general
    Replies:
    10
    Views:
    4,367
    MICHAEL
    Dec 4, 2009
  4. DD

    Program launching program...

    DD, Feb 10, 2011, in forum: alt.windows7.general
    Replies:
    13
    Views:
    1,929
    Flint
    Feb 13, 2011
  5. MourningStar

    How Do I Add A Program Event ...

    MourningStar, Jun 24, 2014, in forum: General Discussion
    Replies:
    1
    Views:
    786
    TrainableMan
    Jun 25, 2014
Loading...