Oninit Logo
The Down System Specialists
Partnerships Contact

-4004 Member "name" of class "class-name" cannot be accessed in this context.

The compiler is aware of the member, but the access control for the member makes it inaccessible in the statement. Check for a PUBLIC, PRIVATE, or PROTECTED declaration. Member variables default to PROTECTED access, but member constants and member functions default to PUBLIC.