NXC SendMessage returning -19
Posted: 18 Jun 2011, 00:30
What does a return value of -19 from the NXC API SendMessage mean? I'm stumped.
Give a child a robot, he'll play for an hour. Teach him to build, and he'll play forever.
https://mindboards.org:443/
-19
here. Apparently, you specified something with an ERR_INVALID_SIZE
.Muntoo, you are exactly right! I was trying to send a text string that was one character too large! Goodness!muntoo wrote:Could we see your code? (A simplified version would be nice. About 10-20 lines, if you can.)
I don't see anything here.
EDIT: There's a-19
here. Apparently, you specified something with anERR_INVALID_SIZE
.