[This is preliminary documentation and subject to change.]
You can add the Video control to Microsoft® Foundation Classes (MFC) and Active Template Library (ATL) projects in the Microsoft® Visual C++® development system. To do this, use the following procedure.
A dialog box appears displaying a set of folders containing components. Open the folder titled Registered ActiveX Controls.
The Confirm Classes dialog box appears, which enables you to select which of the Video control's classes you would like to add to your application.
Visual C++ automatically generates header and implementation files for the classes you select and adds them to your project.
Once the Video control has been added to your project, you can create instances of Video control objects, access the Video control's methods, properties, and events, and add the Video control to user interfaces.
Note To access objects that are not part of the Video control, such as BPCVBIControl and BPCSuspend, run Mytyplib.exe on Vidsvr.odl and insert the generated files into your project. In addition, you can use the header file Bpcsusp.h, which wraps the IBPCSuspend interface and provides additional suspend functionality.
The software included with the Broadcast Architecture Programmer's Reference includes a sample MFC application, VideoMFC.exe, that uses the Video control. For more information about this sample, see Broadcast Architecture Sample Applications.