This topic discusses how to compile existing MFC and ATL programs to target the Common Language Runtime. To compile an MFC executable or regular MFC DLL by using /clr Right-click the project in Solution Explorer and then click Properties. In the Project Properties dialog box, expand the node next to Configuration Properties and select General. In the right pane, under Project Defaults, set Common
{{#tags}}- {{label}}
{{/tags}}