This document explains how to build the CsPushSource filter, 
an experimental source filter written in C#. You'll need 
the DirectShowLib library from the SourceForge web site.

Only the "Debug" configuration has been tested. First, copy the 
DirectShowLib dll to the CsFilter directory. Then build the
solution after fixing the reference to DirectShowlib in the
C# project. Maybe, you should buid a sample filter from the 
DirectShow SDK to make sure that your VC++ directories are set properly.

The build should succeed (with one warning). Then go to the
C++ project debug directory and register the component, eg
type "regsvr32 CsPushSource.ax" at a command prompt where regsvr32 is 
on the path.

Then go to the C# project bin\debug and install the assembly
in the GAC eg type "gacutil /i CsFilter.dll" at the prompt.

Then you can test the filter by adding it in GrapEdit and
right click the output pin to render it. Clicking the run
button should display an ActiveMovie window with a red background
and the frame number. The filter appears as "CsPushSource" in 
the DirectShow filter categories of GraphEdit.

///////////////////////////////////////////////////////////////
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
///////////////////////////////////////////////////////////////