缺少dshow.h [英] missing dshow.h

查看:103
本文介绍了缺少dshow.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我希望有人可以帮助我。我已经阅读了关于网上类似查询的所有建议,但我似乎正在碰壁。我使用VS 2012和directshow在Windows 7上运行的视频程序非常好。我必须在XP上创建一个运行
的版本,但是代码告诉我"dshow.h not found"我已从microsoft安装了相应的Windows SDK,并且未包含DirectShow。我已从microsoft安装了相应的Platform SDK,并且未包含DirectShow。我
已从microsoft安装了相应的DirectX,并且DirectShow不包含在其中。有人说它包含在2005年2月的DirectX Sdk期刊中,但似乎没有。非常感谢您的任何帮助 - 我在我的智慧'
结束。 Peadar,爱尔兰。

Hello all, I hope someone can help me. I have read all the suggestions for similar queries on the 'net but I seem to be hitting a wall. I have a video program working quite well on windows 7 using VS 2012 and directshow. I have to create a version to run on XP but the code gives me "dshow.h not found" I have installed the appropriate Windows SDK from microsoft and DirectShow is not included in it. I have installed the appropriate Platform SDK from microsoft and DirectShow is not included in it. I have installed the appropriate DirectX from microsoft and DirectShow is not included in it. Someone said that it was included in the Feb 2005 issue of DirectX Sdk but that doesn't seem to be available. Many thanks in advance for any help - I'm at my wits' end . Peadar, Ireland.

推荐答案

dshow.h包含在Windows 7.1A SDK中,它作为"Windows XP"的一部分安装。 VS 2012 Update 1和VS 2013中的平台支持。请记住,在VS 2012上构建Windows XP时,必须使用不同的Platform Toolset设置,并且
它使用Windows 7.1A SDK,而不是Windows 8.x SDK。

dshow.h is included in the Windows 7.1A SDK which is installed as part of the "Windows XP" platform support in VS 2012 Update 1 and VS 2013. Remember that when building for Windows XP on VS 2012, you must use a distinct Platform Toolset setting and that it uses the Windows 7.1A SDK, NOT the Windows 8.x SDK.

http://blogs.msdn.com/b/chuckw/archive/2012/11/26/visual-studio-2012-update-1.aspx

自2006年4月发布以来,DirectShow还没有成为旧版DirectX SDK的一部分。您不应该使用旧的DirectX SDK来获取DirectShow标头,而是使用Windows SDK。

DirectShow has not been part of the legacy DirectX SDK since the April 2006 release. You should not be using an old DirectX SDK to get DirectShow headers, but instead use the Windows SDK.

http://blogs.msdn.com/b/chuckw/archive/2012/08/22/directx-sdk-s-of-a-certain-age.aspx


这篇关于缺少dshow.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆