Use the MontiVision Smart ActiveX Control with Borland
To use the filter interfaces within a Delphi project
you have to setup your Borland Delphi or
2005 enviroment to use with the MontiVision Development
Add the MontiVision Smart control from the toolbar into your
A second way to use the MontiVision ActiveX Controls in your
application is to import the ActiveX control..
Create your application framework with the
new project dialog. Select the "Import ActiveX Control" command
from the "Components" menu.
Select the MV Smart Control Type library
and press the "Install..."-button.
Now Delphi imports the MV Smart Control.
The control is visible in the ActiveX pane from the component
Insert the control into your
To get the MV Smart Control
interfaces you have to add a variable for the interface and call
the QueryInterface method from the control interface. Do
not use the MV Smart Control interfaces in the FormCreate
method. At that moment the MV Smart Control isn't completely
To handle events from the MV
Smart Control select the control object in the Object
Inspector window and insert an event handler with a
double click on an events right column.