symbian错误:E32User-Cbase 46 问题

 

今天遇到这个错误,经GOOGLE后得以解决,这个错误时由系统的活动调度器发出的,NewLC.com上的人说:

For Stray signal (E32USER-CBase 46)there will be only one of three reasons:-

1. CActiveScheduler::Add() was not called when the active object was constructed.
2. SetActive() was not called following the submission of a request to the asynchronous service provider.
3. The asynchronous service provider completed the TRequestStatus of an active object more than once – either because of “when an already-completed request is cancelled” or ”more than one request was submitted simultaneously on the same active object."

 

而我的问题出在iStatus上,后找到另一个答案:

You must use the iStatus inherited from CActive, not your own. The Active Scheduler is using the one in CActive.

我在活动对象类里自己定义了一个TRequestStatus对象,苦恼啊!不过去掉过后就没问题了!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值