Is it possible to create Virtual Serial (COM) Ports

I'm working on software that needs to communicate with hardware over RS232 interfaces. In order to test I'm currently using 2 USB-TO-SERIAL devices connected to eachother using an RS232 cable. (Of course both USB devices are connected to the same computer).

While it's perfectly possible to test this way, I'm wondering if there is no way to create 2 virtual com ports on my system and connect them to eachother.

I'm using Windows 7 RC1


Solution 1:

Here are a few commercial options I found after a quick search.

  • Virtual Serial Port by HW group, which is free.
  • Virtual Serial Port Driver by Eltima Software.
  • Virtual Serial Port Kit by FabulaTech.

I am not sure if any will support Windows 7, until it is released.

Solution 2:

I'm not sure if this will help but I checked out several months ago as a replacement for Digiboards. I haven't actually used it but it seemed that it was useful.

http://com0com.sourceforge.net/