The Export Source Wizard
The Export Source Wizard exports a filter graph configuration into source code files. Add these files to your application source projects. The source code files provides a string constant that contains all information to load the filter graph configuration into the MontiVision Smart Control . Use the constant as parameter for the IMVSCFilterGraph2::LoadConfigFromString method. Now you can use the filter configuration in your applications without dealing with external MontiVision Project Files (*.mvp). All information is stored ino your executeble file (*.exe).
To open the Export Source Wizard call the File->Export->Source menu command within the MontiVision Workbench.
Look at the LoadFromString sample how to use the generated source files in your applications.
The Export Source Wizard contains two simple pages.
Step 1
Select your favorite programming language.
Step 2
Enter some names for the created source code. Depending on the selected programming language some text fields are disabled.
| Namespace | Name for the used namespace. |
| Class Name | Name for the class name that contains the "Var Name" constant. |
| Var Name | Name for the string variable. |
| Output Folder | Select the output folder for the generated source files. |
| Filename | Name without extension for the generated files. The wizard uses the standard extension for the selected programming language. |