Click here to Skip to main content
15,887,344 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am using com0com for creating an application that will create a virtual port and bound the virtual port to the physical com port.

What I have tried:

I have successfully created the pair of virtual and physical com port by using
command-> install PortName=COM2,EmuBR=yes,EmuOverrun=yes,cts=ropen PortName=COM5,EmuBR=yes,EmuOverrun=yes

but I am not able to receive data at physical COM port i.e COM2 sent by COM5.

Any help?
Posted
Updated 28-Nov-18 5:32am

1 solution

You should re-visit the website of com0com read the documentation and try out the sample code.

You should carefully check the error codes and look in the system setting whether the ports are created and correct. You better ask someone from the project for detailed help. But the first steps are the error codes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900