当前位置:编程学习 > wap >>

Panic Telephony 0???调用拨打电话函数提示这个错误???

void CStateVarObserver::NewCall()
    {
    CTelephony::TTelNumber telNumber(KTheNumber);

    CTelephony::TCallParamsV1 callParams;
    callParams.iIdRestrict = CTelephony::ESendMyId;
    CTelephony::TCallParamsV1Pckg callParamsPckg(callParams);

    iTelephony->DialNewCall(iStatus, callParamsPckg, telNumber, iCallId);
    SetActive();

    } --------------------编程问答-------------------- Panic Telephony 0 means that "A client has attempted to re-post an asynchronous request before the original request has completed". 

在newcall里面判断下:!IsActive()后再做后续操作 --------------------编程问答-------------------- 如何解决的啊 ,咋不行呢? --------------------编程问答--------------------
引用 1 楼 alex_hua 的回复:
Panic Telephony 0 means that "A client has attempted to re-post an asynchronous request before the original request has completed". 

在newcall里面判断下:!IsActive()后再做后续操作

2楼的意思应该是这个吧

void CStateVarObserver::NewCall()
{
    if(!IsActive())
    {
       // your code
    }
}
--------------------编程问答--------------------
引用 3 楼 scribbler 的回复:
引用 1 楼 alex_hua 的回复:
Panic Telephony 0 means that "A client has attempted to re-post an asynchronous request before the original request has completed".

在newcall里面判断下:!IsActive()后再做后续操作

2楼的意思应该……


难道不是这样的吗?
补充:移动开发 ,  Symbian
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,