I have a VFP barcode app which works fine sending serial data over a normal
LAN via MSComm. I'm trying to do the same thing over terminal services (XP
client/2003 TS server) with serial port redirection. It's weird because the
InBufferCount property gives the correct number of bytes read, but the Input
property has nothing in it - in fact it's listed in the locals in the
debugger, but doesn't even have a type, let alone any data. I get an
'undefined' error for the property when the OnComm event fires. I've tried
just scanning into hyperterminal, and that works fine.
I'm working around this using a keyboard wedge instead of serial input, but
it's not ideal because I want to send a signal back to the scanner to
indicate that the data has been fully processed.
Any ideas?
Thanks.
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003