问题描述
项目是VC6转成VC2010的ATLcom工程,出现了未定义错误,可以右键定位到定义文件,但是就是一直提示error未定义那个数据类型错误,谁知道会是什么错误?请大侠不惜赐教!1>------Buildstarted:Project:VideoControl,Configuration:DebugWin32------1>stdafx.cpp2>------Buildstarted:Project:Render,Configuration:DebugWin32------2>C:ProgramFiles(x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(990,5):warningMSB8012:TargetPath(E:projOCX-src2010RenderRenderD3D9...libRender.dll)doesnotmatchtheLinker'sOutputFilepropertyvalue(E:projOCX-src2010BinDebugTTRender2.dll).Thismaycauseyourprojecttobuildincorrectly.Tocorrectthis,pleasemakesurethat$(OutDir),$(TargetName)and$(TargetExt)propertyvaluesmatchthevaluespecifiedin%(Link.OutputFile).2>C:ProgramFiles(x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(992,5):warningMSB8012:TargetName(Render)doesnotmatchtheLinker'sOutputFilepropertyvalue(TTRender2).Thismaycauseyourprojecttobuildincorrectly.Tocorrectthis,pleasemakesurethat$(OutDir),$(TargetName)and$(TargetExt)propertyvaluesmatchthevaluespecifiedin%(Link.OutputFile).2>Render.vcxproj->E:projOCX-src2010RenderRenderD3D9...libRender.dll1>VideoControl.cpp1>EventsManager.cpp1>e:projocx-src2010videocontroleventsmanager.h(40):errorC2061:syntaxerror:identifier'CComVariant'1>e:projocx-src2010videocontroleventsmanager.h(61):errorC2146:syntaxerror:missing';'beforeidentifier'm_Variant'1>e:projocx-src2010videocontroleventsmanager.h(71):errorC2146:syntaxerror:missing';'beforeidentifier'm_Variant'1>e:projocx-src2010videocontroleventsmanager.h(81):errorC2146:syntaxerror:missing';'beforeidentifier'm_Variant'1>e:projocx-src2010videocontroleventsmanager.h(91):errorC2146:syntaxerror:missing';'beforeidentifier'm_Variant'