This project is read-only.

Problem when using as windows service using C#


the execution stay "forever" blocked on the line "webcam.Start(0);"
The steps I made
Create 2 threads in thread 1 create a window Form with PictureBox inside. In the other initialize the webcam class and pass the PictureBox as argument , I disabled the cross thread safe check.


dparvin wrote May 10, 2013 at 6:01 AM

I can't be sure this is your problem, but I have had issues with starting object in a secondary thread. I can create it on the main thread, give it to the secondary thread to use and continue on in my main thread doing other things.