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 C3346

'attribute': cannot assign values to this attribute

A syntax error was found where an attempt was made to assign a value to an attribute.

The following sample generates C3346:

#include <unknwn.h>
[module(name="xx")];

[object, helpstringdll="xx.dll", uuid("00000000-0000-0000-0000-000000000001")]   // C3346, try helpstringdll("xx.dll")
__interface IMyI {
   HRESULT xx();
};

void main(){
}

See Also

Attributes by Usage