I am creating one compound control application in which the container will contains a control (CCoeControl) and that control also contains another control (CCoeControl)... all the three controls (Container and two controls) are created by me... now prob is that when i am activating the window of my container using ActivateL().. i am getting User 42 panic....which is due to RHeap problem.... so wht may be the prob plz help me to solve this out...
Code snippet is blow...
ConstructL(CPPViewBase* aContainer, const TRect& aRect)
iViewBase = aContainer;
iViewIF = iViewBase->iAppView->iViewIF;
iLabel = new(ELeave)CAnimationLabel;
iAnimation = new(ELeave)CAnimation;
and the third compound control is:
1: when i call activateL() in main container the CountComponentControls() and ComponentControl(TInt aIndex) are called and after that User42 is coming... and its not calling these function of my CAnimationLabel class and not activating it....
Thanks and Regards