Archived

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

C++.NET code in VB.NET

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