Compiler Error C2641 (Windows CE 5.0)
illegal pointer to member cast across virtual inheritance path
A pointer to a member is cast to a base class inherited through virtual inheritance.
The following example shows ways this error might occur.
struct V {};
struct A : virtual V {};
int A::*pma;
int V::*pmv = (int V::*)pma; // error
Send Feedback on this topic to the authors