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 C2846

'constructor' : an interface cannot have a constructor

A Visual C++ interface cannot have a constructor.

For example, the following sample generates C2846:

__interface C {
C();   // C2846; constructor not allowed in an interface
};

void main(){
}