From: Paul Gibson [mailto:[EMAIL PROTECTED]]
>   fld = &gTempFieldType;
>   MemSet(fld, sizeof(FieldType), 0);
>   RctCopyRectangle(r, &fld->rect);
>   fld->attr.usable = true;  /* .... */

I don't see the specific problem here, let me point out that explicitly
instantiating a FieldType object is a totally wrong approach.  On OS 4.x and
below it does happen to work but it pokes at the internals of the structure
which is a Bad Thing.  And OS 5.x this is guaranteed to not work at all.
Make sure to use the latest 4.0 SDK with structure internals disabled, which
will reveal that this code won't even compile any more.

Sorry, what was the question?  :-)

-slj-


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

Reply via email to