C:\src\cedar\generic\base\E32\KERNEL\win32\cutils Runtime error on Emulator
| Thu, 2007-01-18 14:04 | |
|
Hi , In my code I am getting runtime error while running on Emulator in UIQ 3. I added all the lib files and header files that needed, at the particullar line there is a file opening box for "Find the file named C:\src\cedar\generic\base\E32\KERNEL\win32\cutils" I don't know how to solve it. My code is below, I put the comment RUNTIME ERROR in which line errro is coming. void CPhotoScreenView::UpdateListBoxL(TInt aIsmark) { iListBox->HandleItemRemovalL(); SetIconsArray(); CDesCArrayFlat* array = new (ELeave) CDesCArrayFlat(iPhotosCount); CleanupStack::PushL(array); for (TInt i=4;i<iPhotosCount+4;i++) { TBuf<600> item; //// TBufPtr8 item; TInt ret = 3; TBuf<128> filearray; filearray.Copy((*ImageFilePatharray)[i-4]); //////// ret = iAppUi.CheckMediaUploadExists(filearray); if(aIsmark == 0) { item.Format(_L("%d\t%S\t%S\t%d"),i , &(*ImageFilearray)[i-4], &(*ImageDatearray)[i-4], 1); //RUNTIME ERROR C:\src\cedar\generic\base\E32\KERNEL\win32\cutils } else { if(iSelectedPhotos->At(i-4) == 10000) { item.Format(_L("%d\t%S\t%S\t%d\t%d"),i , &(*ImageFilearray)[i-4], &(*ImageDatearray)[i-4], ret, 1); } else { item.Format(_L("%d\t%S\t%S\t%d\t%d"),i , &(*ImageFilearray)[i-4], &(*ImageDatearray)[i-4], ret, 0); } } array->AppendL(item); } CleanupStack::Pop(); iListBox->Model()->SetItemTextArray(array); // We need to set the current item index and call DrawNow() // so that when the user changes the list box to single/double, // it will be updated properly. iListBox->HandleItemAdditionL(); iListBox->SetCurrentItemIndex(iCursorPos); iListBox->DrawNow(); //iListBox->SetCurrentItemIndexAndDraw(0); //iListBox->UpdateCurrentItem(0); } So please help me. |
|





