Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Executing PHP code in QM
#5
Updated.

QM crashes when the thread ends. But if there is a small delay or just Sleep(0) before ending, then always works well. The new version of the functions automatically calls Sleep(0). Didn't find the reason and not sure if it will work well on all computers. If still not, try to replace Sleep(0) to wait 0.05.

Php engine is not so lightweight as VBScript. It creates 7 extra threads (VBScript - 1), 2 of them with hidden windows, 4 of them remain even when the thread ends.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)