View Single Post
  #1 (permalink)  
Old April 12th, 2007, 09:27 AM
jwebb jwebb is offline
Registered User
Join Date: Apr 2007
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multi-Threading Issue

Let me be very general.

I'm creating an application that needs to run a process continuously until the user kills it. So run the continuous process on a separate thread until the user clicks a 'Kill' button right? The problem is that this process needs to do a lot of updating to controls on the main UI. Scouring the internet for information has led me to believe that it is bad practice to update UI controls created on the main thread from a separate thread.

How can I give the user a way to kill a continual process that constanly updates controls on the UI? Apparently 'background worker in Studio 2005 handles this easily, but I am limited to 2003.

Thanks for any help.

Reply With Quote