[Pcsclite-muscle] Asynchronous PCSC API

Ievgenii Meshcheriakov ievgenii.meshcheriakov at qt.io
Mon Jan 31 03:16:21 PST 2022


неділя, 30 січня 2022 р. 21:06:21 CET Ludovic Rousseau написано:
> Le dim. 30 janv. 2022 à 19:08, Ludovic Rousseau
> 
> <ludovic.rousseau at gmail.com> a écrit :
> > I tried again on the first Windows system and now it works as expected.
> > Maybe I made a mistake trying to make the code work on Windows.
> 
> In fact the code "worked" because it is a bug in Ievgenii code.
> I fixed it in https://github.com/eugmes/cardlock/pull/4
> 
There were more problems in that code. The Micorosoft documentation specifies
that only SCardCancel can be called from a thread different than one that 
created the context. But even after fixing that SCardCancel does _not_ cancel 
SCardConnect anymore.
 
> With the fix I see that SCardCancel() does NOT cancel SCardConnect().
> Stephan, can you also confirm you have the same behaviour?
> 
> Thanks



More information about the pcsclite-muscle mailing list