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 C3733

'event': improper syntax for specifying a COM event; did you forget '__interface'?

The wrong syntax was used for a COM event. To resolve the error, change the event type or correct the syntax to comply with the COM event rules.

The following sample generates C3733:

#define _ATL_ATTRIBUTES 1
#include "atlbase.h"
#include "atlcom.h"

[event_source(com)]      // change 'com' to 'native' to resolve
struct A {
__event void func();   // C3733
};

void main() {
}