Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I insert a member variable of ActiveX type to my application, using C++ Visual Studio 7.0?

0
Posted

How do I insert a member variable of ActiveX type to my application, using C++ Visual Studio 7.0?

0

In C++ Visual Studio 7.0, the application requires wrapper classes to handle member variables of ActiveX type, like in the Visual Studio 6.0. In Visual Studio 7.0, the ClassWizard is missing, instead you have Project\Add Class option to add C++ wrapper classes for a type library. In Visual Studio 7.0 use these steps to add a member variable of ActiveX control: • Insert the ActiveX control to your dialog/formview • Select the “Class View” page • Select the project item • Select the “Project\Add Class” menu item • Select the “Visual C++\MFC” category, and select the “MFC Class From ActiveX Control” • Click Open, and the “Add Class From ActiveX Control Wizard” dialog is shown • Select your ActiveX control in the “Available ActiveX Controls” list • # Select the default interface of the ActiveX control, and move it to the “Generated classes” list. The wizard will generate a c++ wrapper class for each interface selected. • Click Finish, and the “Add Class” wizard added the wrapper classes fo

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123