views:

91

answers:

2

When I connect my digital camera, it creates a folder under My Computer named Canon PowerShot SD1100 IS. Using the File Explorer, I can browse this folder and its subfolders to access the pictures on the camera.

Can anyone tell me how to access this folder and its subfolders programmatically?

From within my software, I can drill down into the camera folders and select in image using the Windows file selection dialog, but when I click OK, it appears to be making a copy of the image in a temporary directory and returning a path to that file. I want to be able to directly access the file on the camera.

A: 

superuser.com???

Suvesh Pratapa
Can anyone explain why this was downvoted? This belongs in superuser, and I'm sure any legit stackoverflow user would tell you that.
Suvesh Pratapa
A: 

First time using Stack Overflow, so forgive me if I should be editing my post instead of posting an answer. When I submitted the question, I didn't login and I see no option for editing at this point. I now have an account, hopefully that will enable editing for me.

This is definitely a programming question. The real application is a barcode scanner that connects via usb and creates a virtual folder under My Computer. I want to write software that can access the data on the scanner using the virtual folder that it creates. The scanner is not available to me at this time, so I'm using my camera, which creates a similar virtual folder, to test functionality. Using the camera as an example also makes it much easier for others to help me.

So the basic question is...From the software I am writing, how do I modify the files on the camera?

I am using C++Builder, but I'll take answers for any programming language. At this point, it would help a bunch if I simply understood the general flow of operations.

David