Hello,
I want to capture data from serial port. The COM1 port connected with a device and we have software for the device that is need for generating data. The software opens the port, then connects with the device and writes something for generating data.

i just want to capture all data from serial port. But problem is that, I could not avoid port open (Note that the port already opened by the device software). If i avoid function for open port, other parts does not work.

Any body could give me idea, how can i avoid port open, capture and display data? It will better if someone gives me code example. (Note: I am using MS Visual Studio 2008)

Thanks