WebService Call in RunL
| Sat, 2008-05-17 14:23 | |
|
|
Hi all, My problem is: I am using a single active scheduler which is a member of AO1 to run both AO1 and AO2. There is no timer in AO1 because the gps method itself behaves like a timer. "This panic is raised by the Error() virtual member function of an active scheduler, a CActiveScheduler. This function is called when an active object’s RunL() function leaves. Applications always replace the Error() function in a class derived from CActiveScheduler; the default behaviour provided by CActiveScheduler raises this panic." But why the RunL is leaving on the second time I cannot make out. I am giving the RunL code of my two active objects: AO1(collects location data via gps): void CtrygpswithnewwsdlAO::RunL() switch ( iStatus.Int() ) location->iAccuracy = pos.HorizontalAccuracy();; logloc.iLocation = location; TRAPD(error2, pService->LogLocationL(logloc, loglocrsp, &fault)); if(fault != NULL) HBufC *pContent = SenXmlUtils::ToUnicodeLC(mfault); ShowText(txt); break; } iPositioner.NotifyPositionUpdate( iPositionInfo, iStatus ); AO2(waits for server's message): [this is the perhaps the problematic one] void CnotificationAO::RunL() Please help me. I am easperated. NB. 1. I have kept high and low priority for AO1 and AO2 respectively. Please please please....help me....someone |






(