Sign in to follow this  

[.net] Using managed code and unmanaged code together

Recommended Posts

Is there not a way to have either a managed member of an unmanaged class, or an unmanaged member of an managed class? I'm using Managed C++, and I'm doing calculations that involve complex numbers. I'm using the standard complex math library. I could get by just using complex local variables, but then my methods will get a bit long, and much harder to understand. I don't want to use any of the managed complex math libraries because speed is a bit of an issue. I plan on just using an unmanaged helper class with static functions availible to the managed class. These functions of course will need to be public (so much for encapsulation). Any better ideas?

Share this post

Link to post
Share on other sites

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