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 C3734

'class': a managed class cannot be a coclass

The coclass attribute cannot be used with managed classes.

The following sample generates C3734:

#using <mscorlib.dll>

[module(name=x)];

[coclass]
__gc class CMyClass {   // remove the __gc keyword to resolve
};

void main() {
}