At 04:16 AM 9/5/2006, you wrote:
Subject: special function
From: "marco roner" <[EMAIL PROTECTED]>
Date: Tue,  5 Sep 2006 08:00:44 -0000
X-Message-Number: 15

I need a help to display a data in my c palm application
the data is the date in seconds format (eg. 12545)
This is the code:


char* p,q
       
     UInt32 CurAcc.account_mod_date = TimGetSeconds(); 

        p="";
         p=CurAcc.account_mod_date;
         q=StrIToA(q,p);
         ErrDisplay(q);
        
but the pose write that can't do that for safety and there is function for to do that; whose?
thanks

Try
{
        Char tempStr[30];
        UInt32 secs = TimGetSeconds();

         StrIToA (tempStr, secs);
        ErrDisplay (tempStr);
}

Then understand what the difference is!


--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)

Reply via email to