O'Reilly logo

Extending MFC Applications with the .NET Framework by Nishant Sivakumar, Tom Archer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required