Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Encode two integers! Pin
Bob Stanneveld16-Oct-05 10:46
Bob Stanneveld16-Oct-05 10:46 
GeneralRe: Encode two integers! Pin
ThatsAlok16-Oct-05 18:54
ThatsAlok16-Oct-05 18:54 
QuestionDIBitmap Pin
daojinliu15-Oct-05 15:46
daojinliu15-Oct-05 15:46 
AnswerRe: DIBitmap Pin
Chris Losinger15-Oct-05 16:56
professionalChris Losinger15-Oct-05 16:56 
GeneralRe: DIBitmap Pin
daojinliu15-Oct-05 18:24
daojinliu15-Oct-05 18:24 
GeneralRe: DIBitmap Pin
Chris Losinger15-Oct-05 18:45
professionalChris Losinger15-Oct-05 18:45 
GeneralRe: DIBitmap Pin
PJ Arends15-Oct-05 20:54
professionalPJ Arends15-Oct-05 20:54 
GeneralRe: DIBitmap Pin
daojinliu16-Oct-05 0:40
daojinliu16-Oct-05 0:40 
GeneralRe: DIBitmap Pin
PJ Arends16-Oct-05 8:09
professionalPJ Arends16-Oct-05 8:09 
QuestionREQ : Question with message box. Pin
zerofire15-Oct-05 15:42
zerofire15-Oct-05 15:42 
AnswerRe: REQ : Question with message box. Pin
David Crow15-Oct-05 16:15
David Crow15-Oct-05 16:15 
AnswerRe: REQ : Question with message box. Pin
Jack Puppy15-Oct-05 16:19
Jack Puppy15-Oct-05 16:19 
GeneralRe: REQ : Question with message box. Pin
zerofire15-Oct-05 16:27
zerofire15-Oct-05 16:27 
AnswerRe: REQ : Question with message box. Pin
daojinliu16-Oct-05 0:52
daojinliu16-Oct-05 0:52 
QuestionHow to delete a class? Pin
kevincwong15-Oct-05 15:37
kevincwong15-Oct-05 15:37 
AnswerRe: How to delete a class? Pin
daojinliu15-Oct-05 15:56
daojinliu15-Oct-05 15:56 
GeneralRe: How to delete a class? Pin
kevincwong15-Oct-05 16:45
kevincwong15-Oct-05 16:45 
QuestionEnumerate (list) USB Webcams Pin
Howard Anderson15-Oct-05 15:27
Howard Anderson15-Oct-05 15:27 
AnswerRe: Enumerate (list) USB Webcams Pin
FlyingTinman19-Oct-05 16:09
FlyingTinman19-Oct-05 16:09 
GeneralRe: Enumerate (list) USB Webcams Pin
Howard Anderson10-Nov-05 4:31
Howard Anderson10-Nov-05 4:31 
Hi,

Finally I have returned... Sorry for delayed response.

I know if I use AddFilter to add to the capture graph, I can tell whether the device is there. However, I think that means I have to disrupt it, i.e., eliminate it from the capture graph and then reconnect it. That would interrupt the video.

I tried your suggestion but it answers S_OK even when the camera is not attached! Like I said, this is a pathological case caused by the method used by this older QuickCam.

It is set up so that you have to use "Unplug or Eject Hardware" to make the driver go away. Newer systems handle this automatically. Wonder if I can figure out what the "Unplug or Eject Hardware" function is doing? If I could, then maybe I could use that to determine the status.

I will continue looking at functions that might be used to determine status. Your idea gave me some other ideas to try...

Thanks,

Howard

Howard C. Anderson
HTTP://www.astroshow.com
QuestionMenu invokes dialog Pin
kevincwong15-Oct-05 12:52
kevincwong15-Oct-05 12:52 
AnswerRe: Menu invokes dialog Pin
Roger Allen15-Oct-05 13:46
Roger Allen15-Oct-05 13:46 
GeneralRe: Menu invokes dialog Pin
kevincwong15-Oct-05 14:00
kevincwong15-Oct-05 14:00 
GeneralRe: Menu invokes dialog Pin
kevincwong15-Oct-05 15:19
kevincwong15-Oct-05 15:19 
QuestionCBitmap Pin
fjlv200515-Oct-05 11:37
fjlv200515-Oct-05 11:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.