Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

soconne

C++.NET code in VB.NET

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

Does anybody know if you can use C++ header files or source code in Visual Basic .NET? I keep reading all this stuff about managed C++ and stuff, but I do not understand it. Basically here is what I want to do: I have a .DLL file, with a .LIB file, and a bunch of header files for a 3d game engine I''m using. I want to create a level editor with them, but MFC sucks. So I want to know if there is a way to use the .DLL file and C++ header files in VB.NET so I can use the interface of VB and the code of VC++. Is this possible??

Share this post


Link to post
Share on other sites
Advertisement
very possible indeed.

You don''t need DLL or LIB or any other junks. Just make a VC.NET project and a VB.NET project under the same solution. In VB.NET project, Add Reference, and choose your VC.NET project.

Share this post


Link to post
Share on other sites

  • 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!