引用 6 楼 zhibingfeng 的回复:引用 5 楼 xingyuebuyu 的回复:public static extern int rf_card(int icdev, byte _Mode, uint ref _Snr); C++中unsigned long是32位数据你的意思是public static extern int rf_card(int icdev, byte _Mode, ref uint _Snr);这样吧 还是不行 晕了 返回还是执行失败 测试DEMO能通过的。。。 执行失败是指有报错还是返回值不对? 另外测试DEMO能通过的代码贴出来看看
引用 5 楼 xingyuebuyu 的回复:public static extern int rf_card(int icdev, byte _Mode, uint ref _Snr); C++中unsigned long是32位数据 你的意思是public static extern int rf_card(int icdev, byte _Mode, ref uint _Snr);这样吧 还是不行 晕了 返回还是执行失败 测试DEMO能通过的。。。
public static extern int rf_card(int icdev, byte _Mode, uint ref _Snr); C++中unsigned long是32位数据
木有人来了 。。愁死淫啊~
110,572
社区成员
642,565
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧