Quantcast
Channel: easywebcam Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 16

Commented Issue: Problem when using as windows service using C# [15855]

$
0
0
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.
Comments: ** Comment from web user: dparvin **

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.


Viewing all articles
Browse latest Browse all 16

Trending Articles