From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: simple serial port reading Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8gdjk3$c4i$1 AT diana DOT bcn DOT ttd DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 24 X-Trace: /K0ZEAkjVtnebRK3pG4SZ52mMdrqBT+H0KJYlJiQ+pT/G5jMcV15kBnXkeJUqjubUtUmw5RweMRg!gaQKHbEp/K5kFz9V1n0/Le6KmQUFmrWtajnRue1IfB8v9BGVIeP8/Q27sseOE6cMLhC02ij+2ZtW!0hL94w0= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 23 May 2000 21:10:58 GMT Distribution: world Date: Tue, 23 May 2000 21:10:59 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 23 May 2000 11:43:21 +0200, "Rafael García" wrote: >I need to get a simple string from a barcode scanner on the serial line >(RS232 COM port) > >What is the easy/bad/slow way? (SO is Win98) > >I have other programs working with such devices, but they're connected to >the keyboard port and it is transparent to the software. Anybody knows a >program to simulate keyboard input from serial port input? I think it is a >good idea. If it is cheap, I possibly could buy it. There are serial port libs in section 22 of the DJGPP FAQ list. And you could probably write a wrapper around them to make them more keyboard-like. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/