Compiler Error C2516 (Windows CE 5.0)
'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