Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closing calling macro
#1
I have a macro which calls various function. I want to close the calling macro and all its running thread and function within any running function. "end" simply ends the function running and returns to macro.
#2
This will shutdown all currently running threads... (macros & functions)

Macro
Code:
Copy      Help
int i n=EnumQmThreads(0 0 0 0)
ARRAY(QMTHREAD) a.create(n)
for i 0 EnumQmThreads(&a[0] n 0 0)
,_s.getmacro(a[i].qmitemid 1)
,shutdown -6 0 _s


Forum Jump:


Users browsing this thread: 1 Guest(s)