I think that pFileds pointer is aligned to 16-bit boudary, not 32-bit as required for such pointers. Use ReadUnaligned32 macro. Also don't forget to use -fshort-enums option.
----- Original Message -----From: noriknzw2003Sent: Sunday, October 19, 2003 10:15 PMSubject: [palmnest] ARM pointersThis is Nori again.
When I trap SysHandleEvent and try to do something
for fldEnterEvent, I can't use FldGetTextPtr with
event->data.fldEnter.pField. It causes fatal error.
It seems like I need some endian joggling and word alighnment, but I'm
not sure what I need. I'm new to ARM development.
Can you point a crue of this problem to me?
Thanks,
--
Nori