Compiler Error C2411

'identifier' : illegal struct/union member in 'context'

To fix by checking the following possible causes

  1. The identifier is not a member of a visible structure or union in this context.

  2. The identifier is not a member of the structure or union specified with the member-selection (.) operator.