当前位置: 代码迷 >> ASP.NET >> c#中调用c写的dll.类型转换出了有关问题.请前辈来看看
  详细解决方案

c#中调用c写的dll.类型转换出了有关问题.请前辈来看看

热度:4957   发布时间:2013-02-26 00:00:00.0
c#中调用c写的dll.类型转换出了问题.请前辈来看看
bool   WCSDES_Decode(unsigned   char   *Out,   int   *OutLen,   unsigned   char   *In,   int   DataLen,   unsigned   char   *Key,   int   KeyLen);

上面是c写的方法.


请问在c#中的调用时,类型转换如何搞?

------解决方案--------------------------------------------------------
unsigned char *Out, int *OutLen
看到这个我就晕了
try
ref char[] Out,ref int OutLen,char[] In,int DataLen,char[] Key,int KeyLen
  相关解决方案