Using MontiVision DirectShow Filters with Borland Delphi

To use the filter interfaces within a Delphi  project you have to setup your Borland Delphi or Borland Delphi 2005 enviroment to use with the MontiVision Development Kit.

The Libs folder from the delphi folder from the development kit contains module files for the MontiVision Imaging Filters. Import the modules you need into your application. The MVFilterCommon.dcu/.pas modul contains some common type definitions for the filter modules. Import this file too if the filter module doesn't contains all definitions.

 

A second way to use the MontiVision Imaging Filter is to import the type library from a filter.

Call the Import Type Library command from the Project menu

.

Select the filter type library in the Import Type Library dialog and press Install.

In the Install dialog press OK and compile the project. 

Import the filter interface definition file.

Now you can use the filter interfaces. If the neew module files doesn't contains all definitions add the MVFilterCommon.dcu/.pas file to the import list from the application. Additionally you should add the MVFilterCommon unit. It contains a lot of gloabl definitions. Look at the Dephi version of the TextOverlay or LiveDraw sample for more information.