Hi
I simply wanna convert a TBuf to TInt in Symbian. I tried to do it the following way:
TBuf<2> buf;
buf.Copy( _L("10"));
TInt valInt;
TLex8 lex(buf);
lex.Val(valInt);
Here I get then the error message:
Error: #289: no instance of constructor "TPtrC8::TPtrC8" matches the argument list
argument types are: (TBuf<2>)
Help would be very much appreciated!
Thanks