[DllImport(@"C:\Windows\System32\SSSE32.dll", EntryPoint = "ICC_Reader_Open",
CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
// 打开设备
public static extern Int32 ICC_Reader_Open(string ReaderHandle);
[DllImport(@"C:\Windows\System32\SSSE32.dll", EntryPoint = "ICC_Reader_Close",
CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
//说明: 关闭通讯口
public static extern Int32 ICC_Reader_Close(long ReaderHandle);
需要根据文档查询-14错误码对应的错误原因等来分析
只能知道0以上才是正确的,-14需要看状态码,你的文档里面应该有。
指点下传入的参数哪里不对了