02-05-2021, 05:59 PM
(02-05-2021, 06:36 AM)ZGabrovski@gmail.com Wrote: Please, find attached file with bugs fixed. Now it works.
I have made further tweaks. See attached, as well as checked in to a GitHub branch. I suggest you work from that branch from now on, you are getting out of sync with Indy's main code.
(02-05-2021, 06:36 AM)ZGabrovski@gmail.com Wrote: I am no expecting the problems under android, if then function "SetSrting" terminates the string with #0 and string length will be OK.
But I will test tonight just in case.
Yes, SetString() guarantees the output string is null-terminated properly.