> > >2) That the string must be less than some unspecified length? Or,
> > >
> > >3) Are there other things that can cause this error?
> > >
> > >I need to fix a few of these errors and it doesn't seem like
> > >the problem is caused by violating 1.
> >
> > This error will be displayed if StrLen(fldP->text) != fldP->textLen. So if
> > you manually modify the data in the text block, and thus change the
> > length, without also updating the FieldType.textLen field, then you'll
> > have a problem.
>
>I'm not sure what you mean by manually. The field in question is
>a non-editable field. I get the error at times whenever I tap the
>field (from within POSER). I am using FldSetTextPtr(). Will that
>take care of the .textLen attribute?
FldSetTextPtr will update the FieldType.textLen field to be
StrLen(textPtr), so that doesn't seem like the cause of your problem.
If you're on a Mac, use PalmDebugger to look at the field when you
get the fatal alert (which Poser displays in an alert for you). You
should be able to figure out what went wrong from the values of the
field.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200 (direct) +1 408-261-7550 (main)