RE: Separate thread for updating virtual listview

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Petter,
I understand that you would like to create a separate thread for your
application's data-collection. You would like to find some good examples on
how to do this.
If I have misunderstood, please let me know.

For terminating a thread, you may refer to this article:
Safely Stopping Threads
http://www.codeguru.com/cpp/misc/misc/threadsprocesses/article.php/c3747/

For communication between threads, please use PostMessage to do it. For
more information, please refer to:
How to start a second thread in an MFC-based ActiveX control to fire events
in Visual C++
http://support.microsoft.com/kb/157437
Using Worker Threads
http://www.codeproject.com/threads/usingworkerthreads.asp

Hope this helps. If you have any other questions or concerns, please feel
free to let me know. Have a good day!

Best regards,
Charles Wang
Microsoft Online Community Support

======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================




.



Relevant Pages