Writing a Managed Extensions Application

It's always helpful when learning a new programming language or development environment to either examine any provided sample applications or generate a bare-bones application to study. That way, you can see how a working application's source code is formed in terms of syntax, include files or declarations that are needed, necessary compiler or linker options, and so on. Therefore, at this point, let's create a simple Managed Extensions console application:

1.
Start the Visual Studio .NET AppWizard by selecting New Project from the File menu.
2.
Once the New Project dialog is displayed, select the Visual C++ Projects project type and then click the Console Application (.NET) icon in the Templates list ...

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.