Virtual COM port?

Hi,

Anyone could provide some sample code (in VC++/or VC#) on how to set up a virtual COM port? I know it is possible because some shareware does it.

The situation is I have data from my own program, and I need to transfer the data to the a thirdparty program which takes COM as input.

Thanks,
Hillxy
[333 byte] By [hillxy] at [2007-11-19 6:12:25]