Building with the Base Class Library
The Microsoft® DirectShow® base classes are a set of C++ classes and utility functions. They are primarily intended for implementing DirectShow filters, but several of the helper classes are also useful for application developers.
To use the base classes, do the following:
- Build the base class library, located in the directory Samples\Multimedia\DirectShow\BaseClasses, under the SDK root directory.
- Include the header file Streams.h.
- For retail builds, add the preprocessor flag RELEASE. For debug builds, add the preprocessor flag DEBUG.
- Link to the following lib files.
Debug Build |
Strmbasd.lib, Msvcrtd.lib, Winmm.lib |
Retail Build |
Strmbase.lib, Msvcrt.lib, Winmm.lib |
- Ignore default libraries. (In Microsoft® Visual C++® 6.0, choose Settings from the Project menu. Click the Link tab and check Ignore all default libraries.)
See Also