07-29-2018, 05:47 PM
In the function that it follows, I want - under certain conditions - to repeat the execution of the dialog, following the execution of an external program defined in sub thread. I wonder whether the solution I gave is appropriate, although it works.
;g1
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
opt waitmsg 1 ;;process messages while waiting
wait 0 H mac("sub.Thread" "" d_root) ;;run code in other thread and wait
goto g1
Many thanks in advance.
;g1
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
opt waitmsg 1 ;;process messages while waiting
wait 0 H mac("sub.Thread" "" d_root) ;;run code in other thread and wait
goto g1
Many thanks in advance.