06-02-2006, 03:10 AM
Would this also work?
If I am using dll user32 #IsHungAppWindow hWnd in main macro and also in a function, should I also add the same line in the Function? Or having it on the main macro is good enough? The function is separate from the main macro, its a trigger.
dll user32 #IsHungAppWindow hWnd
act "My Dialog"
int xWindow=win
rep
if(IsHungAppWindow(xWindow))
ShutDownProcess xWindow
break
..
If I am using dll user32 #IsHungAppWindow hWnd in main macro and also in a function, should I also add the same line in the Function? Or having it on the main macro is good enough? The function is separate from the main macro, its a trigger.