conversion of wstring

Login to reply to this topic.
Fri, 2008-03-07 08:14
Joined: 2005-11-04
Forum posts: 18


Hi,
I want to know how should i convert wstring to TDesC .I am having a function which returns wstring* val as output ,now i need to convert
this to Symbian TDesC& .I am not knowing how to proceed.Can someone pls tell me how to do this conversion.Thant will be very helpfull.
Thanks in advance,


Fri, 2008-03-07 11:45
Joined: 2007-11-16
Forum posts: 32
Re: conversion of wstring

wstring* val  ; // or TUint16* val
.....


TPtr wordPtr(val, len, len);

Hope this works

Pramod


"Nobody will believe in you unless you believe in yourself."

  • Login to reply to this topic.