Klaus Schmidinger wrote:
Just curious: when you wre debugging this, did you see the actual value that was returned by getMaximumTextLength()? And did you also see the actual string returned by getText()?
I saw them, but i cant remember them, sorry.
Nope, one byte would not be enough to overwrite the ShortEventSomethingPointer (sorry, dont remember the name but I hope you know what i mean)My guess would be that the buffer was just one byte too small, because getMaximumTextLength() returns the length of the string, without the terminating '\0'. So maybe just increasing the buffer size by 1 would have done the trick. Unfortunately the problem doesn't happen any more today, so it's hard to find out what was really going on.