Yeah, you can open up com ports in Win32 using CreateFile with a file name of "com1" or "com2", then read and write to them using ReadFile, WriteFile. Works on any version of windows since 95 (who knows, maybe even before that). The previous message I posted a link to an example of this, but my C++ classes only support writing to the com port right now. If anyone needs reading from a com port and would like to use my class, I could probably be convinced to expand it. :) Aaron -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Patrik Husfloen Sent: Wednesday, May 30, 2001 2:24 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [EE]:controlling serial port from windows NT I thought there were win32 api to handle comm in win? ----- Original Message ----- From: "sam woolf" To: Sent: Wednesday, May 30, 2001 10:24 PM Subject: [EE]:controlling serial port from windows NT Hi, Have made a little PIC thing that communicates with a computer through the serial port. This works fine with windows 95 but doesn't transfer to NT because NT does not allow use of the _inp() and _outp() functions. What can be done that doesn't require either brains or money? Sam. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body