After the directx9.0 SDK development environment is installed, the related streams. h call fails.
1) install DirectX SDK
2) Open baseclasses. DSW in the samples/C ++/DirectShow/baseclasses directory for compilation.
3) add
C:/dxsdk/include
C:/dxsdk/samples/C ++/DirectShow/baseclasses
C:/dxsdk/samples/C ++/common/include
C:/program files/Microsoft Visual Studio/vc98/include
C:/program files/Microsoft Visual Studio/vc98/mfc/include
C:/program files/Microsoft Visual Studio/vc98/ATL/include
C:/dxsdk/lib
C:/dxsdk/samples/C ++/DirectShow/baseclasses/debug
C:/program files/Microsoft SDK/lib
C:/program files/Microsoft Visual Studio/vc98/lib
C:/program files/Microsoft Visual Studio/vc98/mfc/lib
4) before compiling your project, add strmbasd. Lib UUID. Lib winmm. lib to the project/setting/link /.
Configuration problems [note]
1. The paths of include and Lib must be arranged in strict order. Otherwise
1.1 dxsdk/include and vc98/include have header file names with duplicate names, such as control. h and strmif. h. Therefore, the file declaration of dxsdk should be prioritized.
2.1 The order in which dxsdk/lib and vc98/lib declare the dword_ptr data type is different from that in the compiled connection !!!!
2. Baseclasses/debug and baseclasses/release directories and directories do not contain any content.ProgramThe class, function, filter, and interface in baseclasses are used. You must first compile baseclasses with VC. DSW, select debug and release respectively during compilation, because baseclasses. DSW has four versions and is not debug or release by default. Two important files are generated after compilation: strmbasd. Lib (Debug) and strmbase. Lib (release), which will be used later.