I've written a program that takes two images, then runs an algorithm on them to isolate a hand in the "foreground" and match the gesture to a known one.
A few days ago, I ran the program with some test parameters, just to test a few tweaks I had made, and it all worked fine. I have not touched the code since then.
Today, I ran the program with two new images, and it crashed, giving me the error code 0x0
and HRESULT=0x80070057
. Beyond this, when I stopped debugging from C# Visual Studio 2010 Express, somehow, the debugging stopped, according to studio. But the form is still up, unresponsive, and unable to be closed, even from Task Manager. I can't run the program, because it says another instance is still running.
What could be causing this? And what can I try to fix it? I'd be happy to provide any other details that might be helpful; I'm relatively inexperienced and don't really know what is and isn't helpful.
Addition: I stopped and started studio, and that seems to have fixed the problem. Still, if someone can explain what may have happened, it would be much appreciated.
Another detail: The program crashed near the end of what it was supposed to do. I was able to start, load both pictures, and run the algorithm, but in the last step, it crashed on me.