Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: CBitmap Pin
Prakash Nadar15-Oct-05 19:07
Prakash Nadar15-Oct-05 19:07 
GeneralRe: CBitmap Pin
fjlv200517-Oct-05 14:44
fjlv200517-Oct-05 14:44 
GeneralRe: CBitmap Pin
Prakash Nadar17-Oct-05 16:30
Prakash Nadar17-Oct-05 16:30 
QuestionTransparent CBitmapButton Pin
fjlv200515-Oct-05 7:27
fjlv200515-Oct-05 7:27 
Questiondbt.h Pin
karmendra_js15-Oct-05 5:33
karmendra_js15-Oct-05 5:33 
AnswerRe: dbt.h Pin
Prakash Nadar15-Oct-05 6:29
Prakash Nadar15-Oct-05 6:29 
QuestionDisable linker warnings Pin
leppie15-Oct-05 5:31
leppie15-Oct-05 5:31 
AnswerRe: Disable linker warnings Pin
Prakash Nadar15-Oct-05 19:13
Prakash Nadar15-Oct-05 19:13 
AnswerRe: Disable linker warnings Pin
ThatsAlok16-Oct-05 18:46
ThatsAlok16-Oct-05 18:46 
QuestionRe: Disable linker warnings Pin
leppie17-Oct-05 1:16
leppie17-Oct-05 1:16 
QuestionExiting an application Pin
karmendra_js15-Oct-05 2:51
karmendra_js15-Oct-05 2:51 
AnswerRe: Exiting an application Pin
sunit515-Oct-05 3:23
sunit515-Oct-05 3:23 

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.