Hello,

Actually, I can conclude pcscd is working perfectly as I have run "pcscd -df" 
and it detects the ATR of my smart cards well.

The smart cards I'm using are
1) Axalto Cryptoflex
2) Oberthur IDOne Comso v5.4 with USB interface on C4C8 pins

Both are working on "pcscd -df"

Is there any other things I need to establish/call before calling 
SCardEstablishContext?




TQVM and Best Regards
Cyril Tan
ST Electronics (Info-Security) Pte Ltd
(Regn. No: 199902746G)
100 Jurong East Street 21
ST Electronics Jurong East Building
Singapore 609602
DID:     +65 6568 7202
Tel:       +65 6568 7118
Mobile: +65 9138 5062
Fax:      +65 6568 7226
Website: http://www.digisafe.com

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ludovic Rousseau
Sent: Tuesday, February 28, 2012 8:50 PM
To: MUSCLE
Subject: Re: [Muscle] Problem encountered on SCardEstablishContext

Le 28 février 2012 13:32, Cyril Tan Tien Peng <[email protected]> a écrit :
> Hello,

Hello,

> I have been using the PC/SC Lite API calls in my program:
>
> http://pcsclite.alioth.debian.org/pcsc-lite/pcsc-lite.html
>
>
>
> On the initial use of a SCardEstablishContext call, the return value from
> the function is SCARD_F_COMM_ERROR.
>
>
>
> Function call:
>
> Err = SCardEstablishContext (SCARD_SCOPE_USER, NULL, NULL, &hContext);
>
>
>
> Can I kindly check with you on how could be the cause of the problem and
> possible solutions? Thank you.
>
>
>
> I have run pcscd.

Please follow http://pcsclite.alioth.debian.org/pcsclite.html#support
I need more details about your configuration.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle
[This e-mail is confidential and may be privileged. If you are not the intended 
recipient, please kindly notify us immediately and delete the message from your 
system; please do not copy or use it for any purpose, nor disclose its contents 
to any other person. Thank you.]--ST ELECTRONICS GROUP--

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

Reply via email to