Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enumerating and accessing USB devices
Message
From
12/12/2014 07:58:33
 
 
To
12/12/2014 07:52:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01612196
Message ID:
01612197
Views:
82
This message has been marked as a message which has helped to the initial question of the thread.
>We have a software that accesses the diabetes glucose meters via a serial port.
>Now they are introducing a new meter that has a USB connection. The way to access the meters needs to be done enumerating the USB devices and recognizing the meter by its device ID.
>
>I looked around for code that does the enumeration, but nothing that can simply be used in a VFP application.
>
>I wonder if there is an API or another third party interface that I could use in VFP?

Looks like this http://stackoverflow.com/questions/13927475/windows-how-to-enumerate-all-connected-usb-devices-device-path can get you started

There's a link to a C program towards the end http://www.velleman.eu/images/tmp/usbfind.c
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform