我调用pcsc API。运行以下函数:
[DllImport("WinScard.dll", CharSet = CharSet.Ansi)]
public static extern int SCardTransmit( uint hCard,
ref SCARD_IO_REQUEST pioSendPci,
byte[] pbSendBuffer,
uint cbSendLength,
ref SCARD_IO_REQUEST pioRecvPci,
byte[] pbRecvBuffer,
ref uint pcbRecvLength
);
int res = MyPcsc.SCardTransmit(m_hCard, ref io, ucCmd, nCmdLen, ref io, ucRes, ref nResLen);
函数返回的错误码:0x00000057。它在头文件WinNls.h 中定义:mon sym sep by space from neg amt.我不太理解,更不知如何解决,牛人们帮帮忙啊!!
[DllImport("WinScard.dll", CharSet = CharSet.Ansi)]
public static extern int SCardTransmit( uint hCard,
ref SCARD_IO_REQUEST pioSendPci,
byte[] pbSendBuffer,
uint cbSendLength,
ref SCARD_IO_REQUEST pioRecvPci,
byte[] pbRecvBuffer,
ref uint pcbRecvLength
);
int res = MyPcsc.SCardTransmit(m_hCard, ref io, ucCmd, nCmdLen, ref io, ucRes, ref nResLen);
函数返回的错误码:0x00000057。它在头文件WinNls.h 中定义:mon sym sep by space from neg amt.我不太理解,更不知如何解决,牛人们帮帮忙啊!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货