LIBUSB, How to enumerate USB Flash Drives

Jan 11, 2010 at 3:49am
Hello All!

Anybody knows an example that explains how to enumerate USB Flash Drives connected in a PC using LIBUSB?

I need to enumerate the mountage points (example: In windows "I:\", "J:\"... etc... In linux "/dev/media/KINGSTON"... etc...)

This strings will be used for write some archives in ROOT of all USB Flash Drives connected in the current PC (As I:\config.acc or \/dev/media/KINGSTON/config.acc)

Thanks! (Excuseme for my english level)
Jan 11, 2010 at 5:13am
what compiler are you using???
Jan 11, 2010 at 3:35pm
I'm using Microsoft Visual C++ 2008 and g++. The program will be used in Windows and Linux.
Jan 11, 2010 at 4:32pm
sorry but im confused a little bit. so your using visual C++ and G++ but the program will be run using linux?
Jan 11, 2010 at 10:15pm
well... how to I do this in Visual C++??
Jan 12, 2010 at 12:24am
im sorry but im not sure i can help you. try posting in the UNIX/Linux programming forum
Jan 12, 2010 at 6:47pm
On Windows, you don't need any library.
See MSDN sample from DDK to enumerate USB devices
Jan 12, 2010 at 8:28pm
Yet another useless comment from george135.
Keep up the good work, george!
Jan 12, 2010 at 8:57pm
OK.... thaks you very much!
I'll try to post this in UNIX/Linux programming forum
Topic archived. No new replies allowed.