从Visual C ++加载和使用C#DLL函数 [英] Loading and using C# DLL functions from visual C++

查看:107
本文介绍了从Visual C ++加载和使用C#DLL函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想使用可以从DLL获得的C#函数,所以我需要在我的c ++代码中加载dll但是我不喜欢如何加载c ++。



我尝试的方式:

我从那里创建了c#项目加载C#dll来使用这些函数但我想直接使用DLL而不需要任何中间代码。



谢谢,

Subhash。

Hi,

I want to use C# functions which can be available from a DLL,so i need to load the dll in my c++ code but i don't how to load in c++.

The way i tried :
I created c# project from there loaded the C# dll to use the functions but i want to use the DLL directly without any intermediate code.

Thanks,
Subhash.

推荐答案

如何从Visual Studio.NET或Visual Studio 2005中的本机Visual C ++代码调用托管DLL [ ^ ]。


这篇关于从Visual C ++加载和使用C#DLL函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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