Jump to content
  • Advertisement
Sign in to follow this  

[.net] Using managed code and unmanaged code together

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

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!