B4J Question Creating a Virtual Com Port?

Arf

Well-Known Member
Licensed User
Longtime User
I have an idea for a B4J app that requires that the app creates a VCOM port for other pc apps to connect to.
Is this possible? I guess maybe not but maybe I am wrong.

If not possible, I could also realize this idea if I can transfer data between the B4J app and a c# windows app.
I don't think I can compile as a DLL, so what approach would present itself for this scenario?

Thanks
 

Arf

Well-Known Member
Licensed User
Longtime User
Actually I did this once before but used a websocket and MQTT, but in this new case everything must be local to the pc.
Hopefully a stupid question with a simple answer!
 
Upvote 0

amorosik

Expert
Licensed User
Actually I did this once before but used a websocket and MQTT, but in this new case everything must be local to the pc.
Hopefully a stupid question with a simple answer!

I am very interested in the topic you asked about
Did you manage to make the Vcom via B4J?
 
Upvote 0

Arf

Well-Known Member
Licensed User
Longtime User
I am very interested in the topic you asked about
Did you manage to make the Vcom via B4J?
No, I didn't try very hard after I realised that if one had to create a virtual com port object using Windows programming methods, it would probably mean using the driver development tools as surely the virtual com port IS a device driver. I then thought doing that with B4J would be pretty impossible. I'm no expert though!
 
Upvote 0

Toley

Active Member
Licensed User
Longtime User
There is a serial library in B4J probably what you are looking for

 
Upvote 0
Top