//convert date to string
DateToAscii(DateTime->month, DateTime->day, DateTime->year,
dfMDYWithSlashes, theDate);

 /convert time to string
 TimeToAscii(DateTime->hour, DateTime->minute, tfColonAMPM, theTime);

DateTime is a DateTimeType ptr, theDate and theTime are char ptr's.
Any suggestions?

<[EMAIL PROTECTED]> wrote in message news:20685@palm-dev-forum...
>
> How are you calling DateToAscii and TimeToAscii?
> Did you pass assign space to the string when you called the two
> functions?
>
> Zach Austin wrote:
> >
> > Does anyone know what could be causing a bus error in BOTH calls to
> > DateToAscii and TimeToAscii?  Specifically, I get:
> > Bus error exception at 0x10c42a54 (StrNCopyWithNull)  Thanks for any
help.
> >
> > --Zach
>
>



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

Reply via email to