Comments

: I am hoping someone can help me out.: : I am writing in C and using visual c++ 6.0 and : I need to write a program to open a serial port "COM1", configure it , read from it and write to it.: : I also do not know the header files to include in my main program to get the code to work. Does any one have the solution?: : Thanks : Kay: [blue]This one is a good start:

/*asmguru, the link you sen me is bad. anyhow here is my code which i wrote. i am getting error with read operation. I connected a null modem to the serial port to read the string i wrote to the serial port but nothing is read on serial port. The program copiles, builds and executes but i get error reading. can you help !!!*/