I used RTimer with CActive and I want to use setactive event in special time then I used this code iRTimer.At(TTime) ;
The diffrence between HomeTime and special time is 1 hour
but before that time event occure the code come in below :
void CMyTimer::Set ( TTime time )
{
Cancel() ;
iTimer.At ( iStatus , time ) ;
SetActive() ;
}
Forum posts: 105
Hi,
I think you need to handle the cases in RunL such as
case KErrNone :
break;
case KErrCancel :
break;
case KErrAbort :
break;
case KErrUnderflow :
break;
case KErrOverFlow :
break;
Hope this will help you.....
Regards,
Yogesh
Forum posts: 18
Hi friend
I test this code, but in requested time RunL method dont active . before this time active RunL with -39 status
Forum posts: 105
Hi,
-39 means KErrAbort
In this context the meaning of KErrAbort
is :
the timer was aborted because the system time changed;
Regards,
Yogesh
Forum posts: 18
Hi,
Is there restriction in use TTime varable at RTimer.At()?