USB interface question

Status
Not open for further replies.

binhjuventus

Junior Member level 3
Joined
Nov 26, 2005
Messages
28
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Location
Vietnam
Activity points
1,475
I need your help in this project
- I have a barcode scanner with USB port.
- I need to write a program in VC++ in order to read the data from this barcode scanner.
I have done easily with COM-port barcode scanner but with this USB-type, I have no idea where to begin because I'm not familiar with USB interface.

Can you recommend me how to program? where to begin...
thank you in advance...
 

If your barcode scanner plugs into the usb port, it must come with a driver disc or use a Microsoft driver. Somewhere should be a header file and a dll that you can import and call the functions in the dll that are defined in the header file.
 
Probably the USB interface just simulate a Serial Communication port, the easiest way to check it is use HyperTerminal to observe how many COM port exist on your computer, after you install the device completely.
 
your usb may have virtual com port driver
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…