首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2011-12-10 
c#中调用c写的dll.类型转换出了问题.请前辈来看看boolWCSDES_Decode(unsignedchar*Out,int*OutLen,unsigne

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

热点排行