private: /* These are the pure virtual methods from CActive that MUST be implemented by all active objects */ void RunL(); void DoCancel(); }; ---------------------------------------------------------------------
when i build my application it generates following errors:
'TBatteryInfoV1' : is not a member of 'CTelephony' .h(48) : see declaration of 'CTelephony' syntax error : missing ';' before identifier 'iBatteryInfoV1' 'TBatteryInfoV1' : missing storage-class or type specifiers 'iBatteryInfoV1' : missing storage-class or type specifiers 'TBatteryInfoV1Pckg' : is not a member of 'CTelephony' .h(48) : see declaration of 'CTelephony' syntax error : missing ';' before identifier 'iBatteryInfoV1Pckg' 'TBatteryInfoV1Pckg' : missing storage-class or type specifiers 'iBatteryInfoV1Pckg' : missing storage-class or type specifiers : 'iBatteryInfoV1' : undeclared identifier : 'CClientApp' : illegal member initialization: 'iBatteryInfoV1Pckg'
9: 'GetBatteryInfo' : is not a member of 'CTelephony' .h(48) : see declaration of 'CTelephony' 5: 'iBatteryInfoV1Pckg' : undeclared identifier 9: 'TBatteryStatus' : is not a member of 'CTelephony' .h(48) : see declaration of 'CTelephony' 5: 'TBatteryStatus' : undeclared identifier 6: syntax error : missing ';' before identifier 'batteryStatus' 5: 'batteryStatus' : undeclared identifier 8: left of '.iStatus' must have class/struct/union type 8: left of '.iChargeLevel' must have class/struct/union type 9: 'CancelAsync' : is not a member of 'CTelephony' .h(48) : see declaration of 'CTelephony' 9: 'EGetBatteryInfoCancel' : is not a member of 'CTelephony'
.h(48) : see declaration of 'CTelephony' 5: 'EGetBatteryInfoCancel' : undeclared identifier ------------------------------------------------------------------
Please Help me Out: Thanking u in advance. Edit/Delete Message
Forum posts: 29
8.0a solved my problem.
But new problem arised:
When i call SomeFunction() from appui's switch case, emulator crashes n generates following error:
KERN EXEC-3 on reaching iTelephony->GetBatteryInfo(iStatus, iBatteryInfoV1Pckg); line.
Please help me out.
Thanks.