在工程中添加了atl支持,编译时出现以下错误
e:\project\OPCenter\Connection.h(25) : error C2872: “CEvent” : 不明确的符号
可能是“c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxmt.h(125) : CEvent”
或 “c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsync.h(51) : ATL::CEvent”
e:\project\OPCenter\Connection.h(25) : error C2872: “CEvent” : 不明确的符号
可能是“c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxmt.h(125) : CEvent”
或 “c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsync.h(51) : ATL::CEvent”
ATL::CEvent