Register a custom DirectShow Filter SDK DLL

Before you are ready to use your Filter SDK DLL in DirectShow® and the MontiVision Development Kit, the filter has to be registered. This has to be done only once.

If you used the Filter SDK wizard to create the new filter, then this step is automatically done for you as a "Post Build Step".

Steps to register a new filter

Call the "Run..." command from the start menu and type in "regsvr32.exe c:\pathto\dllname.dll" without the quotes.
E.g., if your DLL was called "filter.dll", you would type:

    regsvr32.exe c:\myfilter\filter.dll.

Press the OK button. The following message appears if everything is OK.

The filter is now registered. If the registration fails, ensure that the FilterSDK.ax file is registered. Normally the FilterSDK.ax is registered during the installation of the MontiVision Development Kit. You can find the FilterSDK.ax in the "bin" folder in the installation path of the MontiVision Development Kit and it can be registered using the same procedure as described above.

 

Filter Category

DirectShow® filters created using the MontiVision Filter SDK have their own filter category "MontiVision Filter SDK Filters".