I am trying to get the content of an SMS.
I am using the CSmsClientMtm::Body() method to get the content in the form of a richtext. I am then copying it to a TBuf. On the emulator the code is working fine, but on the device I am getting User11 panic.
I have taken the length of the descriptor as 160.
I read that the user11 panic is caused if the length of the descriptor exceeds its maximum length. But in this case the length cant go beyond 160.
Can anyone please tell me what is causing the problem?
Please help me.