"Beeeeeves" <1234512345789123456789> wrote in message news:uJ**************@TK2MSFTNGP09.phx.gbl...
I've decided to go down the multithreading road, because the operations take
too long (a few whole seconds)
The simplest approach is to have one GUI thread (the main thread)
and one worker thread (background, non-GUI). The worker thread
will own the FSM. Arrange user actions on the GUI to cause the GUI
thread to post messages to the worker thread which will act on them when
finished with any preexisting work.