[Muscle] The problem about the SCardControl() on the Mac OS X 10.4 Tiger

Wang Yongqing qinwyo2008 at yahoo.com
Wed Jan 16 23:40:48 PST 2008


Dear All,
I want to use the PCSC user API SCardControl() to transmit with my smartcard reader on the Tiger, but I find that the SCardControl can not send the data to the IFDHControl. For example, following is my SCardControl 


SCardControl(hcard, sendBuffer, sendLength, receiveBuffer, receiveLength);


In my driver, the IFDHControl only reads the sendBuffer and sets the return data to the recevieBuffer.


The problem is, when I run my driver and the test application, the driver can't enter into the IFDHControl function. Because Mac OS X 10.4 provides pcsc-lite based on 1.1.2, I read the source code about the pcsc-lite 1.1.2 on the Linux. I find the SCardControl() which in the source file winscard.c just returns SCARD_S_SUCCESS and doesn't do anything. 


So I want to know whether the SCardControl based on the Mac OS X 10.4 also just returns SCARD_S_SUCCESS and does nothing. If it is, how can I use the SCardControl API rightly on the Tiger.


Any advice I will appreciate!


yongqing
2008-01-17




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drizzle.com/pipermail/muscle/attachments/20080116/e3937132/attachment.html


More information about the Muscle mailing list