A TEXT* can contain more than one string, for example 8 pieces.
The documentation writes this about the stored strings:
STRING* *pstring; // pointer to array of string pointers
The txt_load function is able to fill such TEXT with series of strings, and only one TEXT will be filled.
How can i process each of the strings in a loop?
Or i misunderstood something, and there is only one string that is delimited inside with CR+LF characters?
I investigated more this situation. It turned out there is really only one string that is delimited inside with CR+LF characters. So, maybe i will delete this post.
This is more complex than i thought. Especially when changed from UTF-8 to UTF-16 LE.
OK, i stop now.