Compiler Error C2516 (Windows CE 5.0)

Send Feedback

'name' : is not a legal base class

The class is derived from a type name defined by a typedef statement.

The following example shows ways this error might occur.

typedefunsigned long ulong;
class C: public ulong {}; // error

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.