I am programing a RTP server on S60 5th Emulator
I have an error of compilation when I use this code :
before the RTP session opening, in this line :
Code:iRtpSession = CRtpAPI::NewL(*this);
The error is :
And Carbide c++ tell me that NewL is defined like that :illegal implicit conversion from 'CRTPEngine' to MRtpErrNotify &
Newl(MRtpErrNotify &aErrNotify) : CRtpAPI*
I tried to declare a variable with MRtpErrNotify type and put it in NewL
and I get :Code:MRtpErrNotify err; iRtpSession = CRtpAPI::NewL(&err);
illegal use of abstract class ('MRtpErrNotify::ErrorNotify(int)')
undefined idntifier 'err'.
So do you know why this exemple don't work on my pc ? or perhaps how resolv this problem?