i´m writing a program that sends information from one PC to another, using COM1, with ReadFile() and WriteFile()
but how do I know which port is COM1??
I thought of connecting a cable to a port and maybe there´s a function that can check if something is connected to COM1, it will answer TRUE or FALSE or something...
can someone help??
give me your Email Id so that I can send over the code to you. I just have to refer the Memory location and would do it as soon as I get home.