How do I insert a member variable of ActiveX type to my application, using C++ Visual Studio 7.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