typedef struct
{
UInt16 flags;
DateType date;
TimeType time;
}DBTele;//Unpack the record
record ->flags = *(UInt16*)ptr;
ptr += sizeof(record->flags); DateToInt(record->date) =*(UInt16*)ptr;
ptr += sizeof(record->date); TimeToInt(record->time) = *(UInt16*)ptr;
ptr += sizeof(record->time);If you need additional info, please let me know so i can resolve this.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
