Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    India , Noida

    Problem in Conversion from TBuf to HBufC

    Hello All
    I have a problem in conversion from TBuf to HBufC
    I have declare

    TUid KCustomMessageUid= {2};
    // iEikonEnv->AlertWin(aUserData1);
    // aUserData1.Trim();
    HBufC8* items = CnvUtfConverter::ConvertFromUnicodeToUtf8L(aUserData1);

    KCustomMessageUid ,*items);

    It gives an compile time Error

    Undefined symbol: 'class HBufC8 * CnvUtfConverter::ConvertFromUnicodeToUtf8L(class TDesC16 const &)

    And I also want to know that when I returne to CallBackContainer then where the parameter receive which I pass in

    KCustomMessageUid ,*items);

    Help Me.
    Thanks & Regards
    Chandra Bhushan Singh
    Adore Infotech Pvt. Ltd.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: Problem in Conversion from TBuf to HBufC

    Have you checked the headers & libraries for the Class ? as well as are they included in your project. The wiki example appears to be identifying them as well: http://wiki.forum.nokia.com/index.ph...ng_Descriptors

Similar Threads

  1. HBufC to TBuf8 conversion
    By vdharankar in forum Symbian
    Replies: 19
    Last Post: 2010-12-22, 14:55
  2. Conversion from `HBufC*' to non-scalar type
    By farmdve in forum Symbian
    Replies: 16
    Last Post: 2010-06-12, 20:34
  3. how can append TBuf to HBufC
    By manjunaths in forum Symbian User Interface
    Replies: 13
    Last Post: 2008-01-14, 23:50
  4. conversion from TBuf to TTimeDate or TTime
    By rhea_z in forum Symbian
    Replies: 6
    Last Post: 2007-01-11, 04:36
  5. TBuf to IP Conversion
    By junksiva in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-09-17, 08:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts