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 C2597

illegal reference to non-static member 'identifier'

Possible causes

Example

struct s1 {  // in cpp file
   static void   func();
   int   i;
};

void s1::func()
{
   i = 1;   // error C2597 here
}