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 Warning (level 1) C4044

'macro_name': macros are not expanded for attribute names or properties

A macro cannot be expanded to represent the name of an attribute or a property of an attribute. This warning is commonly followed by C2337.

The following sample generates C4044:

#define NAME uuid
[module(name="MyModule")];
[coclass, NAME="00000000-0000-0000-0000-000000000001"]   // C4044
// try ...
// [coclass, uuid="00000000-0000-0000-0000-000000000001"]
class MyClass {
public:
   void MyFunc();
};

void main() {
}