各位大侠 我在做一个加密的测试 我在调用dll 里的函数的时候返回的自符串为空 代买如下【
  [DllImport("CryptRequestFile.dll", EntryPoint = "CryptRequestFile", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)]
        public static extern int CryptRequestFile(string lpClientIP, string lpUserName, string lpFileName, string lpCryptInfo, int size);】这是引用dll 文件
// LPCTSTR lpClientIP (in) 客户端IP地址
// LPCTSTR lpUserName (in) 用户名
// LPCTSTR lpFileName (in) 文件名称
// LPTSTR lpCryptInfo (out) 加密后信息
// long iSize (in) 提供的 加密后信息 字符串的空间大小
// 返回值: >=0 成功,返回实际加密后字符串长度s
// <0 失败
STDAPI CryptRequestFile(LPCTSTR lpClientIP, LPCTSTR lpUserName, LPCTSTR lpFileName, LPTSTR lpCryptInfo, long iSize);
这是我的函数的参数我的click 事件里代码【 string str=" ";
            int i = CryptRequestFile("192.168.168,11", "User","/mnt/xxx.wav",str, 1024);
            MessageBox.Show(i.ToString());
            MessageBox.Show(str.ToString());】
弹出的box 的str 为空 是什么回事?大侠帮忙哦