将C ++代码添加到现有的VB.NET项目 [英] Adding C++ code to existing VB.NET project

查看:97
本文介绍了将C ++代码添加到现有的VB.NET项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的vb.net项目.开发团队希望使用C ++添加新功能.我正在寻找资源来帮助我学习如何将新的C ++(.NET)源集成到VB项目中.

I have an existing vb.net project.  The development team would like to add new features using C++.  I am looking for resources to help me learn how to integrate new C++ (.NET) source into the VB project.

史蒂夫

推荐答案

如果将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.


这篇关于将C ++代码添加到现有的VB.NET项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆