B4J Question How to obtain a 'virtual serial port' like com2com or similar ?

peacemaker

Expert
Licensed User
Longtime User
 
Upvote 0

amorosik

Expert
Licensed User
The question arose because I'm using com2com to create a pair of virtual ports on WIn10pro
But it seems that for some programs that system does not work
If I use RealTerm for example on the virtual ports Com5 and Com6, the ports are seen correctly, they can be opened, and you can transmit on Com5 and see the data arriving on Com6
But some programs are not able to see the Com6 port correctly or in any case they are not able to see the data entering, and I don't know exactly why
I assume there is something different from a classic physical com port and therefore not seeing itself inside the 'PORT' section of the devices, some software is not able to 'see' it correctly
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
So, you have to try another variant of the driver, not only "com2com". And compare.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
If I use RealTerm for example on the virtual ports Com5 and Com6, the ports are seen correctly, they can be opened, and you can transmit on Com5 and see the data arriving on Com6
But some programs are not able to see the Com6 port correctly
Do you mean that some programs are B4J apps?
 
Last edited:
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
No, another driver instead of "com2com".
 
Upvote 0

amorosik

Expert
Licensed User
Do you mean that some programs are B4J apps?
No, there are some programs that only 'see' COM ports that are in the PORTS section of Windows devices
The virtual ports created by com0com are NOT seen in the PORTS section of Windows devices
And so this is a problem for this small group of programs
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…