Click to See Complete Forum and Search --> : Is is possible to mix in managed code in a MFC project?


erikengh
September 30th, 2002, 09:27 AM
I am working on adding a COM interface to a program that has been written entierly in unmanaged C++ code using MFC (VC++ 6.0).

In stead of going the hard way of using ATL to make the COM interface, is it possible to add a .NET/COM interface by adding managed C++ code to the project?

Or does it only work the other way around (you can only add unmanaged code to managed)?

Erik

erikengh
October 1st, 2002, 04:02 AM
Okay I found the answer. http://www.vsj.co.uk/archive/feb2001/hoc1-0102.asp describes how to add managed code to a umanaged code project.