On Jan 3, 2005, at 4:02 AM, Ashutosh Kumar wrote:

 i m using the folliwng code to show the date selector form with some
intialized value.But it shows error "App tried to write at Low memoery
area." error.What is wrong in the following code.

DateTimePtr dateTimeP=NULL;
dateTimeP->month=4;dateTimeP->day=5; dateTimeP->year=1900;
SelectDay (selectDayByMonth,&(dateTimeP->month), &(dateTimeP->day),
&(dateTimeP->year),"birthday..");

In addition to the NULL pointer problem, the Palm OS doesn't easily deal with dates before 1904. SelectDay probably won't like your initializing the year to 1900.


Regards,
Steve Mann
------------------
SLO Revo, Inc.
www.slorevo.com


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

Reply via email to