how can i convert the file
| Fri, 2005-08-26 10:57 | |
|
hi buddy,
   i m using following code for file conversion :  the error occur at line 6( Not enough memory.close some application and try again) . so pls solve if u kno the answer /////////////code/////////[font=Verdana][/font]   1._LIT(KFromType, "text/abc"); 2._LIT(KToType, "text/xyz"); 3.CCnaConverterList* clist = CCnaConverterList::NewLC(); 4.TUid cuid = clist -> ConverterL(TDataType(KFromType), TDataType(KToType)); 5.CConverterBase* converter = clist -> NewConverterL(cuid); 6.User::LeaveIfNull(converter); 7.if(!(converter->Capabilities() & CConverterBase::EConvertsFiles))  8. {   9.delete converter;   10.converter = NULL;   11.} 12.CleanupStack::PushL(converter); |
|






I would put a temporary TRAP around line 5 and see if its leaving, and if so what the error code is.