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 C2849

'destructor' : an interface cannot have a destructor

A Visual C++ interface cannot have a destructor.

For example, the following sample generates C2849:

__interface C {
~C();   // C2849; destructor not allowed in an interface
};

void main(){}