Indigo Rose Software
Indigo Rose Software
Log in to the Customer Portal Customer Login
Software Development Discussion Forums Forums
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    210

    WebCam DLL freezing

    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?

  2. #2
    Join Date
    Aug 2003
    Posts
    2,131
    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.

  3. #3
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    210
    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...
    Code:
    WebCam.ConnectEx(Application.GetWndHandle(), 10, 10, 320, 240);
    Page.StartTimer(500, 1);
    My On Timer code...
    Code:
    if e_ID == 1 then
    
    fileName = "C:\\webcam\\image.jpg"; --Supported formats: bmp, gif, jpeg, png.
    WebCam.Photo(fileName);
    	
    end

  4. #4
    Join Date
    Aug 2007
    Location
    Leon, Mexico.
    Posts
    317
    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

  5. #5
    Join Date
    Aug 2003
    Posts
    2,131
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Indigo Rose Software