Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Milli second timer

1 replies · 1,392 views · Started 06 February 2004

Dear All,

I wanted to know whether using TMilliSecondCallBack results in some problem. When I use this, the following code crashes.

TRawEvent aEvent;
aEvent.Set(TRawEvent::EKeyDown, 0x38);
Kern::AddEvent(aEvent);

In this code fragment the crash occurs when I set the event to the TRawEvent. The crash is as below.

Exc id 11
....

Perhaps this is a exception and the enumeration says it is a EExcAligment. Please let me know what could be the problem.

Is there a timer other than TTickLink or TMilliSecondCallBack to be used at the kernel level?

Thanks to one and all.

Warm Regards,
Pradeep

Attach more log messages like ExId,EXCode etc...
u can use the address shown in Ex Code and see the address in your symbol file.
U will exactly gets where the problem is.