No source available for "0x8FBD75( ekern.exe )()
出现错误no source available for 0x8FBD75(ekern.exe),好像是因为空指针的问题,小弟初学,看不出来问题,求指点
{
TBuf<50> name(_L(""));
CAknTextQueryDialog* dialog=CAknTextQueryDialog::NewL(name);
if (dialog->ExecuteLD(R_FIGHT_CONTAINER_DATA_QUERY1))
{
CPbkContactEngine * iPbkContactEngine = CPbkContactEngine::NewL();
CContactIdArray* pArrayOfID = iPbkContactEngine->FindLC(name);
CleanupStack::PushL(pArrayOfID);
CleanupStack::PushL(iPbkContactEngine);
TInt nCount = pArrayOfID->Count();
TInt i = 0;
for (i = 0; i < nCount; i++)
{
CPbkContactItem* pContactItem = iPbkContactEngine->ReadContactLC(
(*pArrayOfID)[i]);
if (pContactItem == NULL)
{
continue;
}
TPbkContactItemField* pCntField;
CleanupStack::PushL(pCntField);
pCntField = pContactItem->FindField(EPbkFieldIdLastName);
TBuf<50> pFirstName;
if (pCntField)
{
pCntField->GetTextL(pFirstName);
}
else
{
pFirstName.Append(_L(""));
}
pCntField = pContactItem->FindField(EPbkFieldIdFirstName);
TBuf<50> sLastName;
if (pCntField)
{
pCntField->GetTextL(sLastName);
}
else
{
sLastName.Append(_L(""));
}
pCntField = pContactItem->FindField(EPbkFieldIdPhoneNumberMobile);
TBuf<50> bTel(KNullDesC);
if (pCntField)
{
pCntField->GetTextL(bTel);
}
else
{
bTel.Append(_L(""));
}
CleanupStack::PopAndDestroy(pCntField);
CleanupStack::PopAndDestroy(pContactItem);
}
CleanupStack::PopAndDestroy(pArrayOfID);
}
}
单步执行,在最后出的问题
[解决办法]
好像是跟踪到了系统的source,暂且这样想啦,谁知道正确答案的告诉小弟一声,结贴