void __stdcall D3_DES_Count(unsigned char * from,unsigned char * into ,unsigned char *key,int mode);
int __stdcall  String2Hex(CString& str, unsigned char *);
void __stdcall Md5(CString& strSource,CString& strMd5Result);
这几个函数在VB中怎么声明阿?怎么调用指针类型的返回?谢谢大家了!

解决方案 »

  1.   

    Private Declare Sub D3_DES_Count Lib "你的dll路径" (byval lpFrom as long, byval lpInto as long,byval lpKey as long,byval mode as long)Private Declare Function String2Hex Lib "你的dll路径" (byval lpstr as long, byval lpstr1 as long) as longPrivate Declare Sub Md5 Lib "你的dll路径" (byval lpstr as long, byval lpstr1 as long)
      

  2.   

    http://blog.csdn.net/slowgrace/archive/2009/09/25/4593544.aspx感谢西西为我们提供这么好的文章vb与其他语言互相接口的,dll里面传的都是指针