I使用C++和Visual 2010.
当我用智能卡执行签名时会出现:“程序完成时。”
Windows has triggered a breakpoint in MyProgram.exe.
This may be due to a corruption of the heap, and indicates a bug in MyProgram.exe or any of the DLLs it has loaded.
The output window may have more diagnostic information
关于输出
HEAP[MyProgram.exe]: Inva
我可以连接到卡,现在我需要验证PIN,但我不能确定应该使用哪个代码来执行验证
// Verify PIN
//HERE IS WHAT I´M NOT SURE WHAT TO USE - Just an Example
byte[] pin = new byte[] { 0x31, 0x32, 0x33, 0x34, 0xFF, 0xFF, 0xFF, 0xFF };
APDUParam apduParam = new APDUParam();
apduParam.Data = pin;
apduVerifyCHV.Update(apduParam);
apduResp = iCard.Tr