Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
skippix
Posted - Aug 23 2013 : 21:11:56 I want to let my user read images from a card reader, a cell phone, or their camera. I can detect the USB connection and get the paths for the card reader and cell phone which work perfectly with the ImageEnMView.FillFromDirectory, but I can't figure out how to see the camera.
Any suggestions?
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Aug 27 2013 : 02:00:44 Hi
It sounds like you'll need to use the Windows Portable Devices Automation API:
Posted - Aug 24 2013 : 15:07:17 yes, that's a nice demo, and my camera (a Canon 7D) does show up in the dialog. but windows doesn't assign it a drive letter and i can't find any way to browse it. the path to the images shows as "Computer\Canon EOS 7D\CF\DCIM\100EOS1D". the same is true for my Canon G11. i'm using Win7; both devices show up as "Portable Devices".
in the acquire demo, i can't find any code that populates the dialog that shows the camera's contents. that seems like it might do what i need to do.
xequte
Posted - Aug 24 2013 : 14:18:16 Hi
That really depends on the kind of camera. Most modern cameras appear to Windows as a mass storage device, but it sounds like yours does not support this. Have you tried testing it with the "Acquire from Any Source" demo: