Introduction

Beginning with Visual C++ .NET, Microsoft added the Managed Extensions to its C++ compiler, so that the C++ language can be used for developing managed applications that run on top of the .NET Common Language Runtime (CLR). Managed Extensions are the language constructs that allow you to mix managed (.NET) syntax with your unmanaged, or native (non-.NET) code. These Managed Extensions consist of additional keywords, preprocessor directives, and compiler options that allow—among other things—access to the .NET Base Class Library (BCL), the ability to define and use managed types (garbage-collected reference types, value types, scoped enums, delegates, etc.), and access to managed runtime facilities such as reflection and .NET security. ...

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.