Adding an ActiveX Control to a Visual C++ Project
The following procedure adds dispatch class and header files for an ActiveX control to a Visual C++ project.
To add an ActiveX control to a Visual C++ Project
- On the Project menu, click Add to Project. A shortcut menu appears.
- Click Components and Controls. The Components and Controls Gallery dialog box appears.
- Click the component to add to your project. Visual C++ displays a dialog box from which you can select a subset of the component's classes to add to your project.
- Click to select the check boxes of the classes you want to add, and click OK.
Visual C++ generates dispatch class and header files for the component and adds them to your project.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for