×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    44

    How to convert HBufC to TInt64?

    I have a HBufC with it's value "1234", and I want convert it to TInt64 1234, how could i do?
    THX!

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425

    Re: How to convert HBufC to TInt64?

    Code:
            TLex obj(strValue);
            TUint32 val;
            obj.Val(val, EDecimal);
            TInt64 val2 = val;
    Br V

Similar Threads

  1. Is the usage of HBufC proper here?
    By asheeshv in forum Symbian
    Replies: 0
    Last Post: 2005-03-29, 15:35
  2. Convert HBufC to char
    By patbys in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-06, 09:09
  3. Replies: 1
    Last Post: 2002-11-29, 01:03
  4. Tint64 addition with _int64
    By stopin in forum Symbian
    Replies: 0
    Last Post: 2002-11-28, 12:11
  5. Can we convert a JAVA PC application to Mobile application ??
    By rehans_2k in forum Mobile Java General
    Replies: 1
    Last Post: 2002-07-01, 11:33

Posting Permissions

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