Compiler Error C3241 (Windows CE 5.0)

Send Feedback

'method' : this method was not introduced by 'interface'

When you explicitly override a function, the function signature must exactly match the declaration for the function that you are overriding. For example:

#pragma keyword("interface", on)
#pragma warning(disable:4199)

interface IX12A {
void mf();
};

interface IX12B {
void mf(int);
};

class CX12 : public IX12A, public IX12B {
void IX12A::mf(int);
};

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.