Hi there,
I need some help here.
Basically my PC has 6 USB ports (USB1, USB2, USB3, USB4, USB5 and USB6).
Just say I have 3 USB devices (Reader1, Reader2 and Reader3)
I would to create a program which can do this:-
a) Reader1 being plug into USB1, it will prompt me this message "Reader1 is
at USB1"
b) Reader2 being plug into USB6, it will prompt me this message "Reader2 is
at USB6"
c) Reader3 being plug into USB2, it will prompt me this message "Reader3 is
at USB2"
OR
is it there are no orders on detecting which reader at which port.
Example:
Reader1 plug into USB6, it will be show this message "Reader1 is at USB1"
While Reader1 is still at port USB1, I plug into Reader2 at USB5, it shows
me "Reader2 at USB2"
So which one?
Is there any examples in C++ or .net used to detect USB ports?
Any help, i am kind of confuse!
Cheers.
--
Regards,
Chua Wen Ching
Visit us at http://www.necoders.com