且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装SDK并查找示例

更新时间:2022-10-16 09:05:00

Windows 8.x SDK不包含任何示例。仍然发货的样品是
MSDN Code Gallery ,但不包括任何DirectShow示例。


您可以安装Windows 7.1 SDK,然后复制旧样本。如果安装了VS 2012,VS 2013或VS 2015,安装到新的VM映像是***的方法,否则会出现问题 - 这些版本的VS带有自定义的
Windows 7.1A SDK对于Windows XP工具集,它提供包含和库,但不提供样本。您可能还受到了
此已知问题的攻击。

顺便说一句,Windows 10 SDK也不包含任何样本,而且出货的样本都是
GitHub


PS:见
po st




I try to get my hands on the wavedest sample, see https://msdn.microsoft.com/de-de/library/windows/desktop/dd390969(v=vs.85).aspx

I tried installing the Windows 7 SDK (as is pointered on that link above), but it failed. So as I have a Windows 8.1 development machine, I searched for the 8.1 SDK, and installed that, which succeeded. I did not change the checkboxes, I installed it in the standard way as it is offered.

But I can't find the samples, and I think they did not become installed. Windows search for the folders "samples" and "wavedest" failed. The article above speaks of an [SDK Root] folder which I also don't find; the DOS command "SET [SDK Root]" to find that folder does not deliver anything.

Can anybody tell me how to find out if it became installed, and if not how to get it ?

The Windows 8.x SDK does not include any samples. The samples that are still shipped are on MSDN Code Gallery, but that doesn't include any DirectShow samples.

You can install the Windows 7.1 SDK, and then copy out legacy samples. Installing to a fresh VM image is the best way to do it as you otherwise will have problems if you have VS 2012, VS 2013, or VS 2015 installed--those versions of VS come with a custom Windows 7.1A SDK for the Windows XP toolset which provides includes and libs, but not samples. You might have also been hit by this known issue.

BTW, the Windows 10 SDK also does not include any samples, and the samples that are shipped are on GitHub.

PS: See this post.