From: "Matthew Horvat" <[EMAIL PROTECTED]>
> I must be still missing something, and i greatly appreciate the feedback.
> To make it simple, i just want to display the value in the record->time
> field.
What I can't work out, and I might be missing something obvious,
is what the:
> DateToInt(record->date) =*(UInt16*)ptr;
line is meant to be doing. You seem to be setting the return value of
a function call to the value at the ptr.
Why aren't you just using
record->date =*(UInt16*)ptr;
to set the record->date field? Then you should have a valid value
to pass into the format routines, yes?
Chris Tutty
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/