谁能帮我看看,这三个参数(int32_t 、CStr 、int32_t *)分别对应C#中什么数据类型呢
,我在C#中调用,下面的写法为什么不对?
[DllImport(@"SajetConnect.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
public static extern bool SajetTransData(UInt32 f_iCommandNo,ref String f_pData,ref UInt32 f_pLen);
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2310/viewspace-3159665/ ,如需转载,请注明出处,否则将追究法律责任。