All the barcode scanners I've used have been either 'keyboard wedge' or serial types.
If it's 'keyboard wedge', then the internal software does all code validation and outputs an ASCII string that appears to come from keyboard entry, optionally followed by a user-defined terminator (usually CR)
If it's a serial type, just use a Winsock control
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'