E2385 Cannot call near class member function '%s' with a pointer of type '%s' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index


Member functions of near classes cannot be called through a member pointer named %s.

This also applies to calls using pointers to members.

(Remember, classes are near by default in the tiny, small, and medium memory models.)

Either change the pointer to be near, or declare the class as far.