I have been playing around with the webcam dll, using it to stream a webcam on the net but when ever I minimize the application it freezes the screen capturing, has anyone else had this issue?
Sign up for email news and updates!
I have been playing around with the webcam dll, using it to stream a webcam on the net but when ever I minimize the application it freezes the screen capturing, has anyone else had this issue?
I don't know anything about the dll (in fact I didn't even know it existed) but just one thought occurs to me based on past experience with minimized apps - have you tried using the page timer to fire your code. I've found that using this method gets around problems caused by loss of focus.
Yeah, the script is running in a timer, but it still doesnt work...even minimized
I believe it was sside who supplied it ... but i've attached it for you...
WebCam.v.1.0.0.8.rar
My On Show code...
My On Timer code...Code:WebCam.ConnectEx(Application.GetWndHandle(), 10, 10, 320, 240); Page.StartTimer(500, 1);
Code:if e_ID == 1 then fileName = "C:\\webcam\\image.jpg"; --Supported formats: bmp, gif, jpeg, png. WebCam.Photo(fileName); end
Hi Just to write something
Can u disconect before you minimize and then re-connect before u restore the window
Just line, Boku... hope it helps
Last edited by DaSoulRed; 4 Weeks Ago at 12:16 PM. Reason: Erasing text
My only thought looking at the code would whether taking out the if statement makes a difference in other words just go ahead and do it every x seconds no matter what.