Download
DirectShow in Visual Studio 2003 and
Visual Studio 2003 and Direct X (Aug 2006).
With the introduction of the Direct X(Aug 2006 SDK) the
DirectShow libraries and headers has been moved to the Platform SDK.
In order to use our example DirectShow programs with these versions of
the C++ compiler and with the Direct X 2006 SDK - or later) you will
need to use compatible libraries. The DirectShow programs require
a library called "STRMBASE.LIB". The source for this library is provided
in the [Microsoft Platform SDK for Windows Server 2003 R2 (Aug
2006)] SDK - but NOT the library itself. You will
need to build this library. And importantly you must build this
library with the version of the compiler VS2003 or VS2005
that you will use to build the applications. We have created
project files to do his for both Visual Studio 2003 and Visual Studio
2005. You can download the library build files from
here...
The ZIP archives contain a folder structure that
places all our programs in a folder called C:\programs all our other
project files assume that these DirectShow libraries are in this
location. If you build the library "STRMBASE.LIB" in a different
location you will have to adjust the project properties in the Visual
Studio development environment to include a path to this location on the
"linker" tab.
- The first project update is for the
PlayMovie project using the latest DirectX (Aug 2006) and Platform
SDK (Aug 2006). Download
the folder here... to obtain the modified .VCPROJ and .SLN
files. To use these files add the folder in the ZIP archive to the
"PlayMove" folder that you will find on the CD.
- A zip archive of an updated version of the
chroma-key project is available
here... The
project includes some of suggestion for enhancement make in the text
as well as Visual Studio builds for VC6 VS-2003 and VS-2005
- The Aug 2006 Direct3D SDK has differences
from the one we used to prepare the book examples. (We used the 2003
Direct X 9 SDK). To demonstrate how to modify the Visual Studio 2003
and create Visual Studio 2005 project tiles we provide updated
project files here...
for the third example of a simple D3D mesh.
- One of the most involved projects from the
book involved playing a movie into a texture. The
playtex-d3d-ogl example program used
multithreading to present two texture mapped surfaces, one rendered
using OpenGL and one rendered using Direct3D. A movie (AVI file) was
played into each of these texture surfaces using DirectShow. To use
the latest version of DirectShow (see the comment above) and the
latest Direct3D SDK with the VS2003 and VS2005 development tools you
will need new project files. You can download a ZIP archive with
all this information
here... Please read the comment above about DirectShow and
build the version of the STRMBASE.LIB library appropriate to your
development tool. (and note the importance of: the location in the
filesystem of these files.)