阅读背景:

调用非托管函数char返回char *

来源:互联网 

I have a function in unmanaged C/C++ code (dll) that returns a structure containing a char array. I created C# struct to receive this return value uppon calling the function. And uppon calling this function i get 'System.Runtime.InteropServices.MarshalDirectiveException'I have a function in unmanaged C/C++ code (dll)




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: