Hello. I have problem. My application working on emulator but when I run program on ngage, ngage give mi error : "Application closed";
Code:
error is probably in these code:Code:void CMy2Container::ConstructL(const TRect& aRect) { ............. iGif = CPAlbImageViewerBasic::NewL( this,aRect); iGif->SetAnimationObserver(this,ETrue);//for looping iGif->LoadImageL(image,EColor4K); iGif->PlayAnimationL(); }
What is wrong? Please help me!Code:void CMy2Container::MainLoop() { if(iLoadGif) // add new gif { iGif->CancelAnimation () ; iGif->ReleaseMemory (); //when I delete this line i haven't error but new gif hasn't loaded. iGif->LoadImageL(iPath,EColor4K); // path is ok! iGif->PlayAnimationL(); iLoadGif=EFalse; } }
P.S. sorry for my english :/
Thanks.

Reply With Quote

