Symbian Security Studio

About symbian software programming ,security analysis and other things about symbian.

Monday, April 28, 2008

E32USER-CBase 66

E32USER-CBase 66的错误很诡异,竟然只要在函数外加上TRAPD就行了。
例如
TRAPD(err, iTree->ClearL(););
User::LeaveIfError(err);
原来是iTree->ClearL();
官方的说法是
This panic is raised if an attempt is being made to insert a cleanup item into a position on the cleanup stack reserved for marking the current TRAP nest level. In practice this error occurs if the call to CleanupStack::PushL() happens when there has been no call to TRAP().
学习啊学习啊

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home