Sign in to follow this  

C++.net vs C#

This topic is 4826 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

Quote:
Original post by jperalta
The advantage of using Managed C++ is that it is much easier to migrate old code into .NET. The disadvantage is that it sucks.

[grin]

Share this post


Link to post
Share on other sites
The 2.0 Managed C++ is much more pleasant than the old managed C++, but the interop facilities are more efficient in either type of managed c++ than in C#. Other than that creating mixed mode assemblies is handly from time to time, but you alread knew about those.

Share this post


Link to post
Share on other sites
Managed C++ is useful to know. At work I used it to bring unmanaged components into a managed environment with finer control than C#'s P/Invoke would allow me. (Specifically, I needed to unload the DLL after a certain amount of time to force it to clean up.)

P/Invoke's marshalling of a managed delegate into an unmanaged function pointer pretty much redefines sexy, however.

Share this post


Link to post
Share on other sites

This topic is 4826 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