views:

86

answers:

2

Hi I have custom compiled directshow filter - filter.DLL - but how to use, or install this filter in system?

Amanda

+2  A: 

Usually you register the directshow filter into system by calling (from an elevated command prompt window on windows vista/7) regsvr32 filter.dll.

After the registration process you can use your filter with a directshow graph viewing application:

  • GraphEdit (graphedt.exe), installed by Windows SDK (ex. "c:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\graphedt.exe" )
  • GraphStudio

After testing your filter with the above programs you can use it in a C++/C# client application.

Cristian Adam
A: 

Like Cristian said, people typically register the filter on the system. But I prefer not to do this for a few reasons. In particular, see the section on "Registering Filters with the Operating System."

I think nine times out of ten, you're better off instantiating with new. See AppFilter on Geraint Davis' page for an example.

kidjan