How to compile MFC and ATL code with /clr
C++/CLI
Do you want to use .NET from your COM DLL built with C++ and ATL? Well, it's not as easy as adding /CLR.
Have a look at a very instructive section under Mixed (Native and Managed) Assemblies: How to: Compile MFC and ATL Code with /clr.
I'm so glad I found it: I can give Maarten a hand helping the ISV he is taking care of!