我调用DLL中有这样一个函数 void GetStoreResult(VResult &vTemp)
功能是取出结果存到 vTemp 中
而 VResult 的类型 为 typedef std::vector<RESULTSTORE> VResult;
struct RESULTSTORE
{
DWORD dwClient_no;
string strDis;
string strServer;
std::vector<std::string> vResult; };问题是C#没有相匹配的类型,怎样才能调用void GetStoreResult(VResult &vTemp)取出结果呢
各位帮忙给点思路啊
功能是取出结果存到 vTemp 中
而 VResult 的类型 为 typedef std::vector<RESULTSTORE> VResult;
struct RESULTSTORE
{
DWORD dwClient_no;
string strDis;
string strServer;
std::vector<std::string> vResult; };问题是C#没有相匹配的类型,怎样才能调用void GetStoreResult(VResult &vTemp)取出结果呢
各位帮忙给点思路啊
我想把结构体中的元素拆分放到相应的简单类型的数组中 然后以这些数组为参数传递 应该可以吧C++ 中的string 的数组 和C#中的string数组可以匹配么