Jump to content
  • Advertisement
Sign in to follow this  
CyberNGA

VC++ 6 port to C# .NET + bonus problem

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

Hello all, and thanx in advance for your time and efforts to help! I've got two different problems, here goes : 1. I've developed a C++ application using Visual Studio 6 - can I use that code somehow in a C# application I'm developing now, or should I export the code to a .dll and link to it ? ( The code is, essentially, a .3DS loading and rendering algorithm in OpenGL ) Since the code works in VC++ .NET, is there a way to use it in C# ? 2. I have a OpenGL component in C#, which draws a single object ( say a cube ). The rotation values of each axis should then be taken from three numeric updown components, which have two decimal places. I've typecasted the UpDown.Position value to GLfloat, but though no error or rotation comes out... ( if instead of the variable I use a number in degrees it works properly )... What gives ? Again, thanx for your assistance!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!