Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WatchDog Thread
#7
Identical declarations in multiple places is not error, but better put it in a single place. Somewhere so that the function would be declared before it is called. For example, in function init2 (if init2 does not exist - create), which runs at startup.

The code should have a wait command, or it will consume much CPU time. Also should check whether the window still exists, or IsHungAppWindow will endlessly return 0 checking dead window handle.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)