The wizard can be found in the Add New Item selection -
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a C++ MFC application, developed using Visual Studio 2019. I am trying to make use of an ActiveX control supplied by a third party. I need an MFC wrapper class to allow me to interact with the ActiveX control. According to a recent page I found, the necessary wizards for creating such a wrapper class were re-introduced to Visual Studio 2019 (having been previously removed) in version 16.8. I have version 16.11.4 but I can't find them anywhere!
--- Details ---
The following page is called "Add a class from an ActiveX control":
It says there that the MFC wizard for creating an MFC class from an interface in an available ActiveX control, was depreciated in Visual Studio 2017 and would be removed from future versions of Visual Studio. However, I then found this page ("Typelib and ActiveX now supported in MFC Wizards") dated Oct 23rd, 2020:
https://devblogs.microsoft.com/cppblog/typelib-and-activex-now-supported-in-mfc-wizards/
In that page, the author (a Microsoft C++ Team Blogger) says that Microsoft has changed its mind (listened to feedback) and decided to put them back. The wizards are MFC ActiveX Wizard: Creates an ActiveX control and MFC Typelib Wizard, which allows you to add a class from a typelib.
Just to be clear: I do not want to create an ActiveX control. I want to use an ActiveX control supplied by a third party (i.e. I need a WRAPPER class for an ActiveX control). I believe that one or both of these wizards are what I need. So where are they? How do I use them? I cannot find them anywhere. Apparently they were reintroduced in Visual Studio 2019 version 16.8. I have Visual Studio 2019 version 16.11.4.
The blogger urges us to try them out. Well I'd love to. I just wish he'd told us where they are! The obvious first place to look is when you click "Add Class" on the Project menu. But there's nothing like these wizards there. Nor can I find them anywhere else. So where are they? Does anyone know?
All help much appreciated.
The wizard can be found in the Add New Item selection -
Until you asked that question, I was quite sure I did, because I do a lot of development with MFC, but I'll check that and get back to you. Thanks for responding!
-Brian