Building DirectShow Applications
This topic describes the headers and libraries needed to build DirectShow applications.
The latest DirectShow headers and libraries are available in the Windows SDK.
All DirectShow applications use the header file shown in the following table.
|Header File||Required For|
|Dshow.h||All DirectShow applications.|
Some DirectShow interfaces require additional header files. These requirements are noted in the interface reference.
DirectShow uses the static library files shown in the following table.
|Strmiids.lib||Exports class identifiers (CLSIDs) and interface identifiers (IIDs).|
|Quartz.lib||Exports the AMGetErrorText function. If you do not call this function, this library is not required.|
Use the same .lib files for debug and release builds.
The Windows SDK provides a set of C++ classes that are recommended if you are writing a custom DirectShow filter. These classes are provided as sample code, which you can compile to a static library. For more information, see DirectShow Base Classes.
DirectShow applications written for Windows XP with Service Pack 2 (SP2) and later do not need to redistribute any DirectShow DLLs.
For Windows XP with Service Pack 1 (SP1) and earlier, redistributable DirectShow DLLs are available from the Microsoft DirectX SDK. The latest version of these DLLs is version 9.0c. No further development of these redistributable DLLs is planned. Windows XP with Service Pack 2 (SP2) contains the version 9.0c DLLs.
The redstributable packages contain the following DLLs: