-4045 Member "name" is defined in class "class", but not as a
variable or constant.
The identifier name is defined in the class, but as something other
than a variable or a constant, such as a member function. Check the
spelling of the member name and the class or object name.