title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mixed, Pure, and Verifiable Feature Comparison (C++/CLI) | Microsoft Docs |
11/04/2016 |
|
article |
|
|
3f7a82ba-0e69-4927-ba0c-fbc3160e4394 |
8 |
mikeblome |
mblome |
ghogen |
This topic compares features among the different /clr compilation modes. For more information, see /clr (Common Language Runtime Compilation).
The /clr:pure and /clr:safe compiler options are deprecated in Visual Studio 2015.
Feature | Mixed (/clr) | Pure (/clr:pure) | Safe (/clr:safe) | Related Information |
---|---|---|---|---|
CRT library | supported | supported | Run-Time Routines by Category | |
MFC/ATL | supported | MFC Desktop Applications | Class Overview | ||
Unmanaged Functions | supported | Mixed (Native and Managed) Assemblies | ||
Unmanaged Data | supported | supported | Pure and Verifiable Code (C++/CLI) | |
Callable from Unmanaged Functions | supported | How to: Migrate to /clr:pure (C++/CLI) | ||
Supports calling unmanaged Functions | supported | C-style functions only | P/Invoke only | Using C++ Interop (Implicit PInvoke) |
Supports Reflection | DLLs only | supported | supported | Reflection (C++/CLI) |