Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problems to convert TPtrC8 to 16 bit descriptor

1 replies · 2,952 views · Started 14 February 2003

Hi!
I have allways problems to convert 8bit descriptors to 16bit ones. There are so many functions that return for example TPtrC8 type descriptor and the InfoWinL() -functions wants TDesC16 -type descriptor. So How can I convert those 8bit descriptors to 16bit ones?
Marw

Use the Copy function in TDes16

[code:1]void TDes16::Copy(const TDesC8 &aDes);[/code:1]