Where are the DirectShow samples in the Windows 8 SDK? - visual-studio

DirectShow samples lived under (SDK samples root)\DirectShow\ in the Windows 7.1 SDK, but the Windows 8 SDK does not have the files neither in C:\Program Files (x86)\Windows Kits\8.0 nor C:\Program Files (x86)\Microsoft SDKs\Windows. The samples are also not for download at http://code.msdn.microsoft.com/windowsapps

I believe DirectShow is to be phased out and replaced by Microsoft Media Foundation (MF). I think that's been the intention since Windows Vista, although at that time MF was not capable enough to replace DirectShow. Microsoft representatives have stated that DirectShow will not be supported in Metro UI apps.
I think dshow.h, quartz.dll, etc. are still in the Window 8 SDK kit. However, while Windows 8 will still run DirectShow programs in a normal desktop, it might be that DirectShow samples will never be included in the Windows 8 SDK or new Windows Dev Center because it is considered deprecated. I could not find anything stating this definitively, but most information about MF seems to indicate that DirectShow is not a way forward, and there was a lot of clean-up and removal of obsolete artifacts from the Windows 8 SDK.
Anecdotal References:
http://en.wikipedia.org/wiki/Media_Foundation
http://msdn.microsoft.com/en-us/library/windows/desktop/ms694197(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/aa468614.aspx
http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/8f045f59-b03f-4328-a13c-bd90bf9545b1/
Related Download Links:
Windows 7.1 SDK (w/ DirectShow Samples)
Windows 8 SDK
Windows Dev Center
Fwiw, there are a few unofficial samples using DirectShow in the Windows Dev Center.

Microsoft now has a github repo with the old samples: https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/multimedia/directshow/baseclasses

Have you tried Windows Software Development Kit (SDK) for Windows 8 (desktop and Win32 apps)?
http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx

Related

Does Windows 7 with platform update support desktop duplication?

The articles in MSDN are misleading and doesn't provide a clear answer whether or not Windows 7 with platform update will support desktop duplication.
Did anyone know if this is possible? I am developing an application for desktop streaming, I currently use mirror driver for windows 7, but i am looking for a common solution for windows 7 and windows 8.
I have win8 SDK and VS2010 for development.
Platform Update for Windows 7 on MSDN answers this question explicitly (highlights added)
Some new methods introduced in DGXI 1.2 are not fully supported with the Platform Update for Windows 7.You can test for the availability of these functions by calling them directly and checking for an error code. Make sure your applications targeting Windows 7 with the platform update have a fallback in place when the desired functionality is unavailable. These classes of features are unavailable on Platform Update for Windows 7:
...
Desktop duplication
...
See also DirectX 11.1 and Windows 7, DirectX 11.1 and Windows 7 Update, KB 2670838

How to uninstall DirectX11 and install directx10 on windows 7

I am trying to capture a video with a Star-tech capture card using OBS(Open Broadcast Software) non windows 7. The problem I am facing is that OBS requires Directx10 for working and windows 7 by default comes with Directx11 which is messing up the capturing. However I have tried uninstalling DirectX11 from registry except the default key there. The weird thing is that even after I have deleted it from registry it still shows Directx11 installed (checked using dxdiag). Moreover i have surfed the internet like anything and I have not been able to find a working link to download Directx 10. I have been stuck on this for a while now. Any suggestions to help me uninstall Directx11 and download and install Directx 10 on windows 7 will be really appreciated.
Windows 7 supports DirectX 9.0c except for DirectPlay Voice and Direct3D Retained Mode. It also supports DirectX 10.0, DirectX 10.1, and DirectX 11.0. It has partial support for DirectX 11.1 with KB2670838 installed.
You cannot 'uninstall' the DirectX 11 runtime from Windows 7 any more than you can 'uninstall' the Windows UI or the file system. The only thing "DirectX" you can 'install' on Windows 7 is the various legacy DirectX SDK optional bits (D3DX9, D3DX10, D3DX11, XACT, debug layer, etc.) and the DirectX 11.1 Runtime via KB2670838.
See Direct3D 11 Deployment for Game Developers and Not So Direct Setup as well as this blog post.
If your application isn't working, that's an appcompat bug with the software. You can try various Compatibility Modes when running it to see if that works.

What differences are there learning direct3d11 using the windows sdk as compared to the directx sdk?

One can use direct3d11 through either the windows 8 sdk or the directx sdk? As a learner it isn't clear what effects this choice has. What differences does it make whether one learns directx 11 using windows sdk or directx sdk?
directx sdk ( last was june 2010, three years ago ) is deprecated. Windows 8 kits contains an up to date version of the direct x headers and library.
Basic API and documentation are mostly the same, but recent changes are missing. D3DX is deprecated, maths move to directxmath.h and shader compilation move to d3dcompiler.h
Pix is not working anymore with recent windows, so you have to stick with VSGD shipped with visual 2012, but the PiX replacement is far from really useful in the state it is :( So a better tool is nsight for nvidia, and gpuperfstudio for AMD.
That's it.
For Direct3D 11, the best way to go is to use VS 2012 or VS 2013 with the integrated Windows 8.x SDK and avoid the complexities of using the legacy DirectX SDK (June 2010) at all until you determine you actually really need it (the one compelling case would be XAudio2.7 on Windows Vista or Windows 7 rather than using XAudio 2.8 on Windows 8 or later).
For Windows Store apps on Windows 8.x, there a lot of official tutorials and samples on MSDN and the MSDN Code Gallery for you to learn about Direct3D 11.
For Win32 desktop apps on Windows 7 or Windows 8.x, I've posted a lot of unofficial samples harvested from the legacy DirectX SDK that build just fine with the Windows 8.x SDK. See this blog post for an inventory and links to MSDN Code Gallery.
Many older tutorials and books do indeed assume you are using the now deprecated D3DX library, but for Direct3D 11 there are a lot of options that avoid it as covered here. Some recent books embrace these newer libraries as well.
BTW, I'm assuming from your question that you are asking about programming Direct3D 11 with C++ since that's what the DirectX SDK and the Windows 8.x SDK support. If you are looking for C#, then I suggest looking at SharpDX or SlimDX.

How to Download Windows Media Device Manager 11 SDK?

I want to compile the examples of the Windows Media Device Manager 11 SDK - but I cannot figure out how to download it. The original download link doesn't work - and in the Windows SDK I cannot find the examples!
EDIT2: I want to access devices via MTP on Windows 7 with an custom application.
You could try the following link:
http://download.microsoft.com/download/a/c/3/ac367925-39e7-4451-a175-a224f94fbdce/wmformat11sdk.exe
It was buried down in the comments on the SDK documentation.
EDIT:
If you're wanting to do MTP on Windows 7, you might want to look at the Windows 7 Portable Device Enabling Kit for MTP:
http://msdn.microsoft.com/en-us/windows/hardware/gg463543.aspx
The webpage you provided for that SDK states the Windows Media Device Manager 11 SDK is a component of a Microsoft Kit.
I discovered via Google search that there are different kits depending on the Windows version your using.
That same first page of hits revealed Aaron Stebner's WebLog which provides the Microsoft links you need to download this kit for Windows 7:
Microsoft Windows Media Software Development Kit
That 112.5 MB Kit also contains documentation, tools, and sample code to get you started.
Since MTP (Media Transport Protocol) is part of that Kit's framework, I'm hoping there's going to be examples provided once you download and install the MSI package the complete kit, but this should get you going in the right direction.

Windows Phone 7 SDK

Where can I find the SDK for new Windows Phone 7?
Couple of more resources:
Windows Phone 7 Training Kit
Silverlight.net learn videos for Windows Phone 7
Programming for Windows Phone 7 ebook by Charles Petzold
Edit: As the no-commenting-down-voter reminded me, these steps are no longer required as the installer now includes everything you need.
In addition to Rowland's answer, you'll need a few things installed in order to use Blend (for Silverlight animations):
Expression Blend 4 Beta
Microsoft Expression Blend Add-in Preview for Windows Phone
Microsoft Expression Blend SDK Preview for Windows Phone
Here are some other resources you might find useful:
Windows Phone Development on MSDN
Windows Phone Class Library Reference
Code Samples (not included with the SDK download; rather limited, but a good place to bookmark)
It hasn't been officially released as of yet. I heard it would be detailed at MIX.
A community Tech Preview of the tools is available through the Windows Mobile Developer website
You can find the new released SDK at the Windows Phone for Developers homepage.
Click the "Download the Developer Tools" link on the right hand side.
It includes a specialized version of Visual Studio 2010 Express and a device emulator.
Hey the windows phone SDK can be found on Microsoft's website here:
http://create.msdn.com/en-us/home/getting_started

Resources