C++调用C# dll 怎么传引用参数
啊哈五个字 2017-02-23 09:54:36 我在网上找了个工具,能将C# dll转换为用的dll,网站见https://www.codeproject.com/kb/dotnet/dllexporter.aspx,里面提了几个参数类型,string,int, int数组,引用传递结构体,我想知道怎么用引用传递字符串,比如StringBuilder或者out string、ref string,C++怎么获取,还有这个工具里面用的是不是C++\CLI?什么原理?求大神讲解。