If it is a framework, than can I use both MFC and .NET combined in C++ or must I pick one or the other?
thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.Net is not just a framework, you can’t use it from normal C++ like MFC or other C++ libraries. There is a special version of C++ called C++/CLI that can access both the .Net framework (and any .Net libraries) and also any normal C++ libraries. But C++/CLI is mostly for special purposes, like bridging between C++ library and C# application, it’s usually not a good idea to use it as a general-purpose language.
So, is using .Net and MFC together possible? If you use C++/CLI, I think it is. Is it a good idea? No.