Microsoft DirectX 8.0

Setting Up the Build Environment

This article describes how to build Microsoft® DirectShow® applications and filters. You can build a project from the command line, or from within the Microsoft® Visual Studio® environment that comes with Microsoft® Visual C++®:

Building DirectShow Applications

Header Files

All DirectShow applications use the header file shown in the following table.

Header FileRequired For
Dshow.hAll DirectShow applications.

Some DirectShow interfaces require additional header files. These requirements are noted in the interface reference.

Library Files

DirectShow uses the library files shown in the following table.

Library FileDescription
Strmiids.libExports class identifiers (CLSIDs) and interface identifiers (IIDs). All DirectShow applications require this library.
Quartz.libExports the AMGetErrorText function. If you do not call this function, this library is not required.
Strmbase.libRequired only if you use the DirectShow base classes.

In your build environment, the SDK Include and Lib directories should be the first directories in the search path. This ensures that you are using the most recent versions of these files.

Building DirectShow Filters

If you build a DirectShow filter, you must perform the following steps in addition to the ones described in the previous section: