I'm creating a single buffer HBufC into which I need to create 3 different TPtr at different positions within the buffer, so as to save the overhead of creating 3 different HBufCs.
Here's what I'm doing
But when I try do that I receive
function call 'TPtr16(const unsigned short*,int)' does not match 'TPtr16::TPtr16(unsigned short*,int).
Why do I get this error even though the SDK says that parameter in the TPtr16 has to be const TUInt16*.
Please help me as to where am I going wrong here?