B4R Question B4R_Serial_Connector

kohle

Active Member
Licensed User
Longtime User
I downloaded the B4R_Serial_Connector.
I opened it in the b4j IDE.

Messages : jserial and jreflection libs are missing.

Ok, searching in the forum, downloading ....

Open project again, no errors, compiling ....

Error description: Unknown member: initialize2
Occurred on line: 41
udpListener.Initialize2("udp", 51042, 8192, True, True)
Word: initialize2

Looking for the declaration, found it : Private udpListener As UDPSocket
Has no initialize2

And now, to what lib does it belongs to ? JavaObject (version 2.05), jCore ( version 4.20) ....
I dont know, no part of the name match.

And whats are the correct versions ?
Going to https://www.b4x.com/b4j/documentation.html

Checking the versions. All correct.
My b4j version : registered, 4.20 (1)

First)
What I am missing ?

Second)

Erel,
- is there not a possibilty to integrate a lib check, like Microsoft do ? Update function ?
- when libs are not part of the b4x IDE and used in an project. Cant you put the links to
the project description including versions number ?
- or open the option, when a lib is missing to download it from the web ?
 

kohle

Active Member
Licensed User
Longtime User
Ok. I didn´t read that. I updaded now it compiles.

I had to install jserial and jreflection too.
A better library management would be fine.

Suggestion:
When you save a project, save the library names and versions too and
when you load a project, show that there are differences, like you are showing that the lib is missing.
So it´s easy for the programmer to search the right libs, and you a free from adding the link.
 
Upvote 0
Top