日期:2014-05-19  浏览次数:20422 次

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