Download
The code available for download was not originally intended for
general consumption, so not all of it is well commented. I wrote
parts of it when I first started using DirectX, other parts are
relatively new and correspondingly better written. Please send
me an email if you notice any problems using this code.
The contents of this file are licensed for non-commercial
uses only - please respect this and don't use it if you intend
to write applications for profit. The download file is dshow.tar.gz (43kB).
Installation involves unpacking the archive and fixing up some
pathnames in cxx/Makefile.inc to suit
your system. You should then be able to go the the cxx/DShow/BaseClasses sub-directory and run
make fix
make all
This will first patch some Microsoft sources (as described above) and then build the strmbase.a library. I wrote the patches for
the DirectX 8.1 SDK, so don't run make
fix if you have a different version installed.
If you've got the boost
libraries installed, you should also be able to build some
of my sample code by running make.sh
in the installation root directory. There are two sample
applications included: