c#调用C语言封装的dll文件中的数据类型问题

2025-06-27 17:59:32
推荐回答(2个)
回答1:

用System.Int16的数组short[]试过否?

回答2:

[DllImport("SCL_API_stdcall.dll")]
public static extern bool SCL_ShowString(uint nDevID, ref short
info, char str);