Hi everybody:
I have a C++/CLI project to show certain image processing in a AVI video sequence.
In my MainWindow I do the configuration of the process, selection of video sequence, and many other things. If the user clicks a Runbutton a for loop will be executed for all the video sequence. I need to show the results frame to frame, that is for each iteration of the loop must I paint in SecondWindow and calculate the process in MainWindow.
I'd would like to have SecondWindow activ to record data, stop the process and so on and MainWindow as backgroundprocess...
Should I use for this threads?
There is another way to do that?
I've read in the MSDN about threads and I didn`t understood quite well. Do you know others articel oder tutorial about threads??
You might get away with not using threads but I wouldn't recomend it. For something like this threads are incredibly easy to use in Win32. Threads only become difficult when you have an uncertain number of them running in parallel and sharing data. I don't see a reason not to multithread your project.