|
VC++ .NET Windows and interrupts / watchdogs question.
I have developed a decoding tool by using MFC (Dialog based) in VS .NET 2003. The program actually works, but it “hangs” during the actual decoding. When finished the window comes back again. As the actual decoding of my file could take up to 5 minutes, this is of course quite annoying. During the decoding the CPU is more or less parked at 100%. How can this be avoided? Is it possible in a not too complex way to have some watchdogs introduced to so e.g. I can pause the decoding or if wanted and resume later on. As it is know I can’t even move the “Window” as it’s not updated. Is there any easy way to avoid this? I read in another forum that I might need to start a background thread. This for me is something new. Isn’t there a way to do it “automatically” by a Wizards?
BR /// Rob
|