Hi to all,
i try to write a simple application to do an HTTP post.
i declared this class:
Code:// on the header file class CProConnect : public CBase, public MHTTPTransactionCallback, public MHTTPDataSupplier, public MHTTPAuthenticationCallback { public: static CProConnect* NewL(); static CProConnect* NewLC(); CProConnect(); ~CProConnect(); void ConstructL(); } //on the .ccp file CProConnect::CProConnect() { } CProConnect* CProConnect::NewL() { CProConnect* self = CProConnect::NewLC(); CleanupStack::Pop(self); return self; } CProConnect* CProConnect::NewLC() { CProConnect* self = new (ELeave) CProConnect(); //in this line I have the error CleanupStack::PushL(self); self->ConstructL(); return self; } void CProConnect::ConstructL() { //iRepository = CRepository::NewL( KCRUidProfileEngine ); } CProConnect::~CProConnect() { }
When I compile i have this error on NewLC funcition:
illegal use of abstract class ('MHTTPAuthenticationCallback::GetCredentialsL(const TUriC8 &, RString, RStringF, RString &, RString &)')
I don't know why i have this error.
Someone can help me?
thank you very much.





