This documentation is archived and is not being maintained.

Compiler Warning (level 3) C4247

Visual Studio .NET 2003

'member' not accessible because 'class1' uses 'access' to inherit from 'class2'

You tried to access a member of a class that was inherited from another class with the private or protected attribute. This is a warning instead of an error because the access violation occurred due to a type cast.