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 C3174

module attribute was not specified

A program that uses Visual C++ attributes did not also use the module attribute, which is required in any progam that uses attributes.

The following sample generates C3174:

// uncomment the following line to resolve this C3174
// [module(name="x")];
[export]
struct S {
   int i;
};

void main() {
}