如何从C ++项目中调用C#dll [英] How to call a C# dll from C++ project

查看:180
本文介绍了如何从C ++项目中调用C#dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经创建了一个C#dll,它不是COM.现在我需要在我的C ++中使用此dll

我的C ++项目中如何获取该dll中的函数.请帮助我.

在此先感谢

Hi,

I have created a C# dll and it is not COM.Now I need to use this dll in my C++

project.How can I get the functions in that dll in my C++ project.Please help me.

Thanks in advance

推荐答案

检查以下文章.

从C ++调用C#代码并读取包含字符串的结构数组 [
Check the following article.

Call C# code from C++ and read an array of struct which contains strings[^]


这篇关于如何从C ++项目中调用C#dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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