今天遇到这个错误,经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对象,苦恼啊!不过去掉过后就没问题了!