I didn't run the program under Windows. 

After moving SCardREleaseContext() to the same thread which calls 
SCardEstablishContext(),
the program works fine now.

Thanks,

Wei


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Ludovic Rousseau
Sent: Tue 5/30/2006 1:53 AM
To: MUSCLE
Subject: Re: [Muscle] SCardCancel in pcsc-lite hangs
 
On 25/05/06, Wei Hu <[EMAIL PROTECTED]> wrote:
>  I wrote a small program to test the card insertion and removal events. It
> is linked into libpcsclite.so. I discovered a SCardCancel() hang problem in
> libpcsclite when running this program. Attached are simple programs to
> reproduce this on Redhat Linux with smartcard daemon pcscd running.

I forgot to ask: does your test program works under Windows?

Does it work if you remove the call to SCardReleaseContext() as I said
in my previous mail?

Bye,

-- 
  Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

<<winmail.dat>>

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to