> I thought there were win32 api to handle comm in win? There is. You access the port with the usual CreateFile, ReadFile and WriteFile. For serial ports, there are additional routines for setup like GetCommProperties, SetupComm, etc. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu