How to Detect the insertion/removal of flash card media


J

Joe Miller

I am a developer and a photographer, and I am trying to write a windows
service that can recieve a notification that a compact flash card, or an SD
card has been insterted into a card reader slot. The card reader is a
multi-format (CF/SD/MMC, etc) reader connected to the machine by USB. I want
the service to recieve a notification of the card insertion, so it can grab
the files, read the EXIF/IPTC data, and process the files (cataloging, noise
reduction, other adjustments), etc.

I'm stuck on getting a notification that a media card has been inserted into
a reader. I want this to run as a windows service. Is there a way to do
this?

Thanks,

Joe
 
Ad

Advertisements

J

Jeff Gaines

I'm stuck on getting a notification that a media card has been inserted
into
a reader. I want this to run as a windows service. Is there a way to do
this?

I did this for CDs once using RegisterDeviceNotification, may be worth
looking at it in the help file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top