In that case, I'm curious what is wrong with this code that runs fine on the palm handheld but is rejected by the emulator with the following error on line marked with *:
Project (1.0) called SysFatalAlert with the message: "Field.c, Line: 7221, NULL parameter".
Is there something wrong with setting fldAttr to NULL before calling FldGetAttributes?
Yes. Your fldAttr variable should be of FieldAttrType, not a pointer to it. Then, you would pass in &fldAttr, to take its address.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/