Problem solve Get help with specific problems with your technologies, process and projects.

Can MFC code be converted to .NET?

If code is written in MFC, can it be converted into .NET?
It depends. Managed C++ does a pretty good job of lifting C++ code and compiling it into managed code. However, in the big scheme of things, I don't think you'll really be getting much of an advantage to your development by doing that. If the code is a COM component, you'd be much better off leaving it as a COM component and calling it through .NET's InterOp. Interestingly, many people are finding that the massively improved C++ compiler Microsoft has released is adding quite a bit of life to their existing code.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.