共用方式為


編譯器錯誤 C3358

'symbol':找不到符號

找不到必要的符號。

下列範例會產生 C3358:

// C3358.cpp
#define __ATLEVENT_H__ 1   // remove this line to resolve the error
#define _ATL_ATTRIBUTES 1
#include "atlbase.h"
#include "atlcom.h"

[event_receiver(com)]
struct A   // C3358
{
   void func();
};

int main()
{
}