how can i convert the file

Login to reply to this topic.
Fri, 2005-08-26 10:57
Joined: 2005-01-22
Forum posts: 112
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);

Sat, 2005-09-03 00:57
Guest (not verified)
Forum posts: 2043
Re: how can i convert the file
Are you sure line 6 is leaving?

I would put a temporary TRAP around line 5 and see if its leaving, and if so what the error code is.
  • Login to reply to this topic.