CaptureApp: Could not open camera

Thomas H.
2010-09-15
2013-09-17
  • Thomas H.
    Thomas H.
    2010-09-15

    Hello everybody,

    i have a problem. I have compile the example program CapturApp from IVT with Code = 0 (0x0). But i get the message from the console: Could not open camera.

    I have traced the program and found out that the program have a problem with the camera driver:

    // connect to driver
    if (!capDriverConnect(m_hCaptureWnd, m_nDriverIndex))
    {
    DestroyWindow(m_hCaptureWnd);
    m_hCaptureWnd = 0;
    return false;
    }

    The Program enter the if source and return false. The camera is am Logitech QuickCam Pro 5000. It makes no problems with other programs, for example: skype.

    Who can help me?

    Greetings

    datatom

     
  • Greg
    Greg
    2013-09-17

    Hello datatom,

    if you open skype, then CaptureApp should work.
    I don't know why. I'am looking for a solution as well.
    Greetings!