[Pcsclite-muscle] Windows PC/SC and SCARD_E_SERVICE_STOPPED
Ludovic Rousseau
ludovic.rousseau at gmail.com
Mon Dec 27 09:06:41 PST 2021
Hello,
Thanks to all for your answers.
Le dim. 26 déc. 2021 à 20:09, Stephan Brunner
<s.brunner at stephan-brunner.net> a écrit :
>
> Hi,
>
> A quick and dirty solution is to establish a new context when getting
> SCARD_E_SERVICE_STOPPED. I had this situation myself when dealing with
> this stuff. This method forces the service to start again and stay
> alive, until the next time the last reader disconnects...
Exact. This solves the problem.
See https://ludovicrousseau.blogspot.com/2021/12/windows-pcsc-and-scardeservicestopped_27.html
Now I have to implement a fix for PySCard.
Bye
--
Dr. Ludovic Rousseau
More information about the pcsclite-muscle
mailing list