How detect in a dialog application that a dv camera is connected? RRS feed

  • Question

  • Ok, My app is based in a dialog box with one CStatic (rectangle) for the IVideoWindow directshow interface and two buttons, "Start Streaming" and "Stop".

    My question:

    What is the best way to ask to the system if a dv camera is connected? With a OnTimer member function and asking every second (polling)? there's another way like interruption from the device to the system?

    Wednesday, August 29, 2007 2:29 PM