Hi,
Could any body tell me abt how to solve the date
problem, Bcoz I am asking this 3 rd time. Does we have
to do any kind of operations b4 assignig to datetype
struct. I am uing struct like
struct DateType
{
WORD day : 4;
WORD month : 5;
Word year : 7;
};
Then I am taking out day , month and year from the
string. and assigning to DateType struct. Does we have
to add 1904 in date if yes still I am getting problem.
I am not able to sync from pc to palm.
my code is like this..
WORD day = 12;
WORD month = 12;
WORD year = 2001;
DateType date;
date.dat = SyncHHToHostWord(day);
date.month = SyncHHToHostWord (month);
date.year = SyncHHToHostWord (year);
I know some where I am wrong but where ?????
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/