I discovered a very slight bug in Synaser under windows 10 when using
BlueTooth Serial Ports.

On line 2300, in this particular case, the string returned by reg.ReadString
is badly terminated and the last character is missing, leading to all ports
named as ‘COM’.

Simply casting the string as a pChar when passing it to StringList.add is
sufficient to have it work properly.

Therefore line 2300 becomes: v.Add(pChar(reg.ReadString(l[n])));

That’s it!

JYL

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to