From: "Sebastian Noack" <[EMAIL PROTECTED]>
> >Your subject says the error occurs on the first line, but your message
says
> That's not true. In the line "pField = pEvent->data.fldEnter.pField;",
> I don't access the FieldType. I just get a pointer on it.
>
Yes ok, so that's valid.  But the response is perfectly correct in
saying that the
> if (pField->textLen > 0)
line is trying to access the internals of the field, which is invalid.
The pField type is incomplete because it's defined as opaque
in the header - you can comfirm this yourself.  You therefore
can't dereference the pointer to access members of that structure.
Treat the internals of these structures as system information and
use the API calls

Chris Tutty


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to