且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将C ++代码添加到现有的VB.NET项目

更新时间:2023-02-16 23:32:25

如果将C ++代码编译到类库中,那么您应该能够引用类库并使用功能.

If the compile there C++ code into a class library then you should be able to reference to the Class Library and use the functionality.

.net语言的想法是它们允许混合语言开发.

The idea with .net languages is that they allow mixed language development.

如果您正在考虑在VB项目中键入C ++代码-您不能这样做.一个VB项目将包含VB源代码.您可以调用以其他语言C ++,C#,可以生成.NET或COM类库等的语言实现的功能.

If you are thinking about typing C++ code into a VB project - this you cant do.   A VB project will contain VB source code.   You can call functionality which was implemented in other languages C++, C#, Language which can produce .NET or COM class libraries etc.