本文介绍了在C ++中包含Dshow.h时出错(OpenRTM)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嗨!这花了我很多年。我一直在寻找谷歌寻找可能的解决方案,但到目前为止我还没有任何明确的解决方案。 当我在我的代码中包含Dshow.h时,我得到了一个错误。 将WINVER更改为0x0400或更高版本不起作用。 我目前正在使用OpenRTM框架,我认为这与该问题有关。我尝试制作一个新项目,只是正常的项目,并且dshow包括在内,但是OpenRTM框架却没有。 这包含在服务端口中标题。Hi! It's been taking me ages. I've been searching google for a possible solution but up until now I haven't had any clear solution.When I include Dshow.h in my code I get an error.Changing the WINVER to 0x0400 or higher does not work.I am currently using OpenRTM framework and I think this has something to do with the issue. I tried making a new project, just the normal one, and the dshow included fine, but with the OpenRTM framework it does not.This is included in the service port header.#include <Windows.h>#include <DShow.h> 错误7错误C2061:语法错误:标识符'HMONITOR'C:\Program Files(x86)\ Microsoft Office SDK \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 我的操作系统是Windows 7 64位,我使用的是VC ++ 2010 for 32bit。 编辑:更新了问题。Error 7 error C2061: syntax error : identifier 'HMONITOR'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\ddraw.hMy OS is Windows 7 64bit and I'm using VC++ 2010 for 32bit. Updated the question.推荐答案 这篇关于在C ++中包含Dshow.h时出错(OpenRTM)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-12 20:04