Windows XP Serial Port
Posted on 2002-05-27
Can someone please provide some simple sample code to open a serial port, set all needed values, and then write a simple string to that port (like "hello" or somthing). It is a necessity that this code work on all modern versions of Windows (98/2K/XP). I've tried some solutions but they didn't work with Windows XP. I need this to work with Windows XP.
This is not a homework problem. I am trying to send a command to a serial port device, but i can't find any code that has worked with Windows XP.