Hi,

I am trying to use the function DateAdjust

static void calcDate(int y, int m, int d, int a)
{
        DateType theDate;
        DatePtr  dp;
        
        dp = &theDate;
        
        dp->year = y;
        dp->month = m;
        dp->day = d;
        
        dp = &theDate;
        DateAdjust(dp, a);

}

But the DateType structure is not assigned the correct values.
Any hints what I do wrong ?



Christer 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to