totti0858
totti0858
I also compiled the same project under the Windows platform and found that the SCardGetStatusChange for PNP notification returns the right value SCARD_S_SUCCESS as expected after run it under Windows...
Just as the way you mentioned how to compile the pcsc_scan.exe for Windows (https://ludovicrousseau.blogspot.com/2017/05/pcscscan-on-windows.html), I had compile it and put the exe into the attachment file. Please see the attached...
It is true that I modify the code as your patch do: adding printf("SCardGetStatusChange for PNP notification result = %lu\n", rv) at line 528. But when I run the pcsc_scan.exe...
/home/test/pcsc-tools-master $ diff pcsc_scan.c pcsc_scan.backout 528d527 < printf("SCardGetStatusChange for PNP notification result = %lx\n", rv); I also attach the zip file that include the modified .c file compiled exe. Please...
Yes, typical user scenario is that the physical smart card reader are attached before the pcsc_scan.exe executed. I think this is the expected result that return SCARD_S_SUCCESS at this scenario...