LIBUSB, How to enumerate USB Flash Drives

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)
what compiler are you using???
I'm using Microsoft Visual C++ 2008 and g++. The program will be used in Windows and Linux.
sorry but im confused a little bit. so your using visual C++ and G++ but the program will be run using linux?
well... how to I do this in Visual C++??
im sorry but im not sure i can help you. try posting in the UNIX/Linux programming forum
On Windows, you don't need any library.
See MSDN sample from DDK to enumerate USB devices
Yet another useless comment from george135.
Keep up the good work, george!
OK.... thaks you very much!
I'll try to post this in UNIX/Linux programming forum
Topic archived. No new replies allowed.