RE: Driving COM ports
- Posted by Bernie Ryan <xotron at localnet.com> May 02, 2001
- 439 views
Andy Drummond wrote: > Hello there you Euphoric people. > I have just written a moderately big database program in Euphoria with > Win32Lib using the IDE. So far so good. But there seems to be no support > > for driving the serial ports of the PC. I have some code I have got off > the EU site but that is just giving me access to the 16550 UARTs so I > can push and pull bytes to it. I have to use a timer interrupt to test > for received bytes. Not nice. > Does anyone have a clean-ish package to drive the COM ports with > interrupt I/O, so it can be driven as if a system character device? Or > does anyone know where I can get one .... etc etc. > Thanks > Andy > > Andy: Here's how to do Serial Communications in windows. http://msdn.microsoft.com/library/devprods/vs6/visualc/vcsample/vcsmpserialsampleforcommunicationsdemonstration.htm Bernie