项目是VC6转成VC2010的ATL com工程,出现了未定义错误,可以右键定位到定义文件,但是就是一直提示error 未定义那个数据类型错误,谁知道会是什么错误?请大侠不惜赐教!
1>------ Build started: Project: VideoControl, Configuration: Debug Win32 ------
1> stdafx.cpp
2>------ Build started: Project: Render, Configuration: Debug Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(E:\proj\OCX-src2010\Render\RenderD3D9\.\..\lib\Render.dll) does not match the Linker's OutputFile property value (E:\proj\OCX-src2010\Bin\Debug\TTRender2.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(Render) does not match the Linker's OutputFile property value (TTRender2). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2> Render.vcxproj -> E:\proj\OCX-src2010\Render\RenderD3D9\.\..\lib\Render.dll
1> VideoControl.cpp
1> EventsManager.cpp
1>e:\proj\ocx-src2010\videocontrol\eventsmanager.h(40): error C2061: syntax error : identifier 'CComVariant'
1>e:\proj\ocx-src2010\videocontrol\eventsmanager.h(61): error C2146: syntax error : missing ';' before identifier 'm_Variant'
1>e:\proj\ocx-src2010\videocontrol\eventsmanager.h(71): error C2146: syntax error : missing ';' before identifier 'm_Variant'
1>e:\proj\ocx-src2010\videocontrol\eventsmanager.h(81): error C2146: syntax error : missing ';' before identifier 'm_Variant'
1>e:\proj\ocx-src2010\videocontrol\eventsmanager.h(91): error C2146: syntax error : missing ';' before identifier 'm_Variant'