Hi,
How can I add multiple instances of my webcam to my windows application. If
the camera device is in use with some other application It throws an error
saying that the device is already in use. How to sort that out?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
thanks for the reply.
I am doing the same thing. But is there any method by which I can force the
aplication to quit which is accessing the camera device. Or I can
programmatically disconnect the device and then restart it with my application
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the "other program" is something you wrote, then I suppose you
could work out a sharing mechanism.
Other than that, I don't believe there is a "crash other
application" method (which is what would most likely happen if you could
"steal" the device from some other application).
I'm not even certain it is possible to figure out what (other) application has
the device open. While I believe you can do this with files, I'm not sure that
cameras use Handles.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How can I add multiple instances of my webcam to my windows application. If
the camera device is in use with some other application It throws an error
saying that the device is already in use. How to sort that out?
I don't know of any way to detect that a device is in use other than trying to
use it and checking for the error.
hi,
thanks for the reply.
I am doing the same thing. But is there any method by which I can force the
aplication to quit which is accessing the camera device. Or I can
programmatically disconnect the device and then restart it with my application
If the "other program" is something you wrote, then I suppose you
could work out a sharing mechanism.
Other than that, I don't believe there is a "crash other
application" method (which is what would most likely happen if you could
"steal" the device from some other application).
I'm not even certain it is possible to figure out what (other) application has
the device open. While I believe you can do this with files, I'm not sure that
cameras use Handles.