Compiler Error C3358
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C3358.
symbol': symbol not found
The required symbol was not found.
The following sample generates 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()
{
}
Show: