用c#调用一个c++写的com接口
com的一个接口为:
GetProperty(BYTE* pPropData);在c#中转换为:
GetProperty(ref BYTE pPropData);在c#中实现:
byte[] tText = new byte[128];
GetProperty(tText );
或者
GetProperty(ref Text );
都是不对的
该如何调用?以上函数简写。
com的一个接口为:
GetProperty(BYTE* pPropData);在c#中转换为:
GetProperty(ref BYTE pPropData);在c#中实现:
byte[] tText = new byte[128];
GetProperty(tText );
或者
GetProperty(ref Text );
都是不对的
该如何调用?以上函数简写。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货