.mmp
LIBRARY euser.lib.h
Include this e32base.hclass CActiveExample: public CActive
virtual void RunL();
.cpp
CActiveExample::CActiveExample():
CActive(CActive::EPriorityStandard) //Init the active object in constructor
CActiveScheduler::Add( this ); //Starts the active scheduler
//Make the asynchronous call
SetActive();//Sets the active object
Implement RunL() method.
Destructor add Cancel();