company logo
446 (E)- Cannot run single process when process queue is working

An attempt was made to start running a single process from a process queue while the process queue is working. In order to run a single process, the process queue must stopped before.

  if (is_running = pq.IsRunning() )

    pq.StopThread();

  pq.RunProcess(name,id);

  if ( is_running )

    pq.StartThread();