>I keep getting a crash with error saying "Textmgr.c
>line 945 Dest buffer too small".
>...
> TxtPrepFindString(&(f->strAsTyped[0]),
>&(f->strToFind[0]),maxFindStrLen+1);
> }
You're missing a parameter. TxtPrepFindString looks like this:
UInt16 TxtPrepFindString(const Char* inSrcP, UInt16 inSrcLen, Char*
outDstP, UInt16 inDstSize)
... and the code is bombing because inDstSize is 0. That's the only cause
for that error message.
Is the compiler not giving you an error message? What version of the SDK
are you using, and does its .h file really only list 3 parameters?
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html