
Originally Posted by
sumitv
//The constructor for the derived class CClientApp
CClientApp::CClientApp(CTelephony* aTelephony)
: CActive(EPriorityStandard),
iTelephony(aTelephony),
iBatteryInfoV1Pckg(iBatteryInfoV1)
{
//default constructor
iBatteryInfoV1.iStatus = CTelephony::EPowerStatusUnknown;
}
For the vtable Error You are getting i don't think you req. this.
cahange it to
Code:
//The constructor for the derived class CClientApp
CClientApp::CClientApp(CTelephony* aTelephony)
: CActive(EPriorityStandard),
iTelephony(aTelephony)
{
//default constructor
iBatteryInfoV1.iStatus = CTelephony::EPowerStatusUnknown;
}