首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Symbian >

No source available for "0x8FBD75( ekern.exe )()解决思路

2012-12-14 
No source available for 0x8FBD75( ekern.exe )()出现错误no source available for 0x8FBD75(ekern.exe)

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,暂且这样想啦,谁知道正确答案的告诉小弟一声,结贴

热点排行