Sign in to follow this  

[.net] can i mix projects managed and unmanaged in a Visual C++ solution?

This topic is 4305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi to all, I consider myself nothing expert using Managed Code in C++, so maybe my question is very simple... In a Visual C++ Solution (.sln) can i mix projects Unmanaged and Managed??? I need to do some controls/menus in .NET FrameWork and rest of code in Native C++. If "yes" is the answer, is easy to call code from managed to unmanaged and viceversa? thanks in advance Kustom

Share this post


Link to post
Share on other sites
If I recall, you can add projects to that solution, and those projects can be a mix of managed an unmanaged C++. That should do it though, I believe.


Edit: AS far as calling, i believe if you qualify your namespaces, you should have no issue.

Share this post


Link to post
Share on other sites

This topic is 4305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this