NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2638

'identifier' : __based modifier illegal on pointer to member

The __based modifier cannot be used for pointers to members.

Example

void *a;

class C
{
public:
   int i;
   int j;
   int func();
};
int __based (a) C::* cpi = &C::i;  // error
int (__based (a) C::* cpf)() = &C::func; // error