> DateTimeType *dt_expiry;
> DateType *d_expiry;

these should be:

DateTimeType dt_expiry;
DateType d_expiry;

> UInt32 gExpiry;
> 
> /* first attempt: bus error (read from non-mapped memory)*/
> TimSecondsToDateTime( timenow, dt_expiry );
> DateSecondsToDate( timenow, d_expiry );

and..

TimSecondsToDateTime( timenow, &dt_expiry );
DateSecondsToDate( timenow, &d_expiry );


you should be able to figure out what is wrong from that.

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.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