R
rein.petersen
Hey All,
I have introduced a new thread in my Winform application to control a
scanner that can often take some time and freezes up the application.
The thread and callbacks work great - I create and start a thread for
my scanning operations and I can continue to process commands (I tested
using a timer and writing to the console). But my windows form still
freezes until the callback is executed by the thread. I'm confused -
the whole point of the exercise was to allow my windows form to
continue to be responsive while scanning operations performed in
another thread in the background.
Before I post reams of code, does anyone have any ideas of what I'm
doing wrong?
Thanks in advance,
Rein
I have introduced a new thread in my Winform application to control a
scanner that can often take some time and freezes up the application.
The thread and callbacks work great - I create and start a thread for
my scanning operations and I can continue to process commands (I tested
using a timer and writing to the console). But my windows form still
freezes until the callback is executed by the thread. I'm confused -
the whole point of the exercise was to allow my windows form to
continue to be responsive while scanning operations performed in
another thread in the background.
Before I post reams of code, does anyone have any ideas of what I'm
doing wrong?
Thanks in advance,
Rein