I have the following struct and populate it with the following code. My question is how do i reference either the date or time to get it into a text control. The DateToInt is throwing me off???

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/

Reply via email to