G
Guest
Hi all,
I have a windows form that uses an imported COM class to talk to a legacy
system. The COM object works asynchronously - An even is fired when data has
been returned.
This works fine, except that Im getting too many events fired! Thus my
windows form becomes pretty sluggish and unresponsive, and CPU utilistaion
is pretty high.
Is there any way I can set up another thread to recieve and handle these
events instead? Do threads have event loops? If so, how do I "direct" events
to them?
Am I tackling this in the wrong way?
Thanks!
Spammy
I have a windows form that uses an imported COM class to talk to a legacy
system. The COM object works asynchronously - An even is fired when data has
been returned.
This works fine, except that Im getting too many events fired! Thus my
windows form becomes pretty sluggish and unresponsive, and CPU utilistaion
is pretty high.
Is there any way I can set up another thread to recieve and handle these
events instead? Do threads have event loops? If so, how do I "direct" events
to them?
Am I tackling this in the wrong way?
Thanks!
Spammy