Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARRAY failure in a special thread
#1
An ARRAY declared in init2 :

ARRAY(int)+ STWc.create(2)

is used in a dialog :

case WM_TIMER
if STWc[0]

However it aborts with the message
Error (RT) in MyStopWDialog: array is not created

Could you please advise?

Thanks in advance, Simos
#2
Probably the first statement was never executed. Restart QM, then init2 will run.
#3
Thanks, I tried it several times, but in vain.
#4
Maybe STWc somewhere destroyed. Try in empty qml file.

-----

init2 runs in normal thread.
#5
Dear Gintaras,

Many thanks indeed. Yes, it was actually destroyed. Everything OK now.

Best regards, Simos.


Forum Jump:


Users browsing this thread: 1 Guest(s)